Jump to content

Custom CSS that doesn't affect mobile?

Featured Replies

Posted

I've just started editing the custom CSS for the first time, to be able to style some pages just a bit more to my liking.

However, this messes with the mobile layout (I'm just adding a div class via the WYSIWYG html).

Does anyone know how to make sure a class doesn't affect what happens on mobile?

Put the custom CSS inside a block like:

@media screen and (min-width:768px)
{
	blah
}

 

  • Author

Thanks a bunch!

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.