Remove background images on mobiles
Hi Guys,
Thanks for the plugin, works great. Only thing was I wanted to replace the images on mobiles with a plain background, as my sections are quite long and the images get over stretched. Website is: http://idiscover360.com/
I’ve been trying something like this but no luck.
@media (max-width: 680px) {
#pl-519 .panel-grid {
background-image: none;
}
}
Any help would be appreciated.
Thanks!
This is our free support forum. Replies can take several days.
Need fast email support? Get SiteOrigin Premium
Replies
5Hi James,
You’re actually pretty close. The backgrounds are applied to a child of panel grid called panel-row-style. So the following CSS should work:
@media (max-width: 680px) { #pl-519 > .panel-grid > .panel-row-style { background: none !important; } }You might also need to install the SiteOrigin CSS Editor.
Hi James,
It should also be noted that you should consider add a color to that selector also as without the background image it’s white (text) on white (background).
Hello,
I am looking to do the exact same thing on my theme however i cannot determine what #pl-519 corresponds to? would you be able to point me in the right direction?
Web page is zombiefluff.com should you need it
Nevermind sorted thank you! :)
Thanks that worked, and sorry for the late reply!
Replies on this thread are closed.
Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.