Hi,
I’m trying to format the text on my hero image. I’m using the Site Origin hero image plugin and initially used the standard heading tags (h1, h2, etc) but the h1 font size isn’t as big as I want it for the hero image.
I’ve tried using the Site Origin custom CSS plugin and when the specific h1 text is highlighted, the CSS shows as:
.sow-slider-base ul.sow-slider-images li.sow-slider-image .sow-slider-image-container .sow-slider-image-wrapper > *:first-child .so-widget-sow-hero-default-5ee7f3a91716 .sow-slider-base .sow-slider-image-wrapper h1 .entry-content h1 h1
I tried adjusting the font size via the custom CSS plugin panel options to 60px which created this custom CSS:
.sow-slider-base ul.sow-slider-images li.sow-slider-image .sow-slider-image-container .sow-slider-image-wrapper > *:first-child { font-style: italic; font-weight: bold; font-size: 60px; }
However, the change doesn’t take effect. I’ve tried clearing my cache, re-saving the page, etc but I’m stumped.
I’m guessing I’m doing something wrong so how should I actually be doing this?
Thanks
Steve
Hi SteveBDD
Do you have a public URL where we can take a look at what’s going on? If you need to keep this URL private from other users, just select “Private Reply” on the bottom right of the comment box.
This is a private message.
Thanks for the update.
If you click over to the Text tab in the Hero widget you’ll see that you’re using inline CSS to set font size:
That overrides the
that is applied in Custom CSS. If you remove font-size: 300%; from the inline style tag, your Custom CSS will take effect.
Got it! Many thanks.
Glad we could help. All the best.