Home>Support>Image Modification

Image Modification

Hi,

I’m using the Hero widget, and would like to bring certain css modifications to the background image. How can I do that?

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. 8 years, 4 months ago Alex S
    Hi, I Work Here

    Hi Marou,

    Could you elaborate on what you wish to do?

    Do you have a public URL where we can take a look at your hero widget? If you need to keep this URL private from other users, just select “Private Reply” on the bottom right of the comment box.

  2. 8 years, 4 months ago Marou

    Hi Alex,

    Sorry but I’m working locally, so I can’t link my site. I’d like to, for instance, add a css filter to the background image when visitors hover. Essentially, I added a css class to the widget, and would like to know how to refer to the background image of the widget in a custom css plugin…

    Thanks again.

  3. 8 years, 4 months ago Alex S
    Hi, I Work Here

    Hi Marou,

    I can’t provide exact CSS suggestions but I can provide a general class that you can use. You should be able to do what you’re after with the following selector: .yourclass .sow-slider-image-cover

  4. 8 years, 4 months ago Marou

    Hi Alex,

    Thanks a lot for the help. The code seems to work, however, the css seems to affect the entire widget. That can be useful, but not always. I tried .sow-slider-image to see and nothing changes. Is there a way to isolate the background image?

    Thanks again.

  5. 8 years, 4 months ago Alex S
    Hi, I Work Here

    Hi Marou,

    .sow-slider-image and .sow-slider-image-cover are basically the same thing as they’re both applied at the same level.

    Take the following screenshot as an example of the markup.

    You’ll notice that the background image is set rather early and then the content is nested. This means that this is about as specific as you can get.

  6. 8 years, 4 months ago Marou

    Hi Alex,

    Thanks a lot for the help.

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