Hi there im wkring on a site and have several gallerys in the projects page. They look awful on the mobile version and i believe the best and easiest way to deal with the problem is to cull them out then the screen reaches a certain size.
I have tried the following code in both the wordpress additional CSS section and the Site Origin Plugin CSS editor however nothing seems to work.
@media screen and (max-width: 800px)
{
.gallery-1 { display: none; }
}
Has anyone encountered a similar problem?
Any help is much appreciated on this matter.
Thanks All!
Here is a link to the page im working on http://smith-construction.co.uk/
Hi Joseph,
I can’t seem to see where you added the gallery-1 class. You’ll need to apply this class to the area you wish to hide.
You can do this by opening the row/widget and heading over to the row/widget styles sidebar. Open the Attributes settings group and set the Row/Widget Class to gallery-1 and save.
Regardless, I would recommend using:
This will require changing your row/widget class to mobile-hide