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.
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.
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.
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.
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
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.
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.
Hi Alex,
Thanks a lot for the help.