1

I am currently running my magento site with the responsive Ultimo Theme, which has been great so far. However, i am wanting to make some custom css changes to hide some elements on my site which are not compatible with my mobile view. How do i go about implementing a custom css file which is only active when my site is being read on a mobile device?

asked Mar 9, 2017 at 16:38

2 Answers 2

1

There should already be a custom CSS file in skin/frontend/ultimo/custom.css or somewhere in that area.

Then use media queries such as:

@media (max-width: 600px) {
 .facet_sidebar {
 display: none;
 }
}
answered Mar 9, 2017 at 16:45
2
  • can i put multiplemcustom css changes into this query? Commented Mar 9, 2017 at 16:48
  • You can put as many as you want yes Commented Mar 9, 2017 at 16:49
0

Per the documentation of the Ultimo theme, you can add css classes to your elements like hidden-sm hidden-xs This will hide the element on smaller screens. You have the choice of xs (xtra small - phone), sm, md, lg you can also use visible-xs visible-sm to allow certain elements to be shown at various viewport dimensions

answered Sep 14, 2019 at 1:23

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.