Home>Support>Hide image in mobile using CSS styler in PageBuilder

Hide image in mobile using CSS styler in PageBuilder

Hi I am trying to hide an image only when people are using mobile devices to view my site (currently www.carolpart.com). The image I want to hide is in the masthead and reads “same day shipping on all in stock orders placed before 4pm”. I am using the Mobile CSS styler under attributes. Layout Builder> SiteOrigin Image> Widget Styles> Attributs> Mobile CSS Styles. I’m kinda new to this so all I’ve tried to type in there is display: none; which has not worked. Please help, thanks!

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 6 years, 3 months ago Alex S
    Hi, I Work Here

    Hi Levic,

    Please open the SiteOrgin Image widget used to add that image and head over to the widget styles sidebar. Open the Attributes settings group and set the Mobile CSS Styles field to:

    display: none;
    

    Save. How does that look?

  2. 6 years, 3 months ago levic28

    That worked thank you

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.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More