Widget Footer 1 – Font size not changing inside H2/H3 tag

Posted in: Newspaper
Post count: 48

Hi there,
Website: https://www.10keythings.com/

In Widget Footer1 (TEXT box),
I used the following code:

H2 TAG 1:
<h2><i><span style=”color:#e56c25; font-size:14pt”>10 Key Things of EveryThing that lists Only Top and Best things.</span></i></h2>

H2 TAG 2:
<h2><span style=”color:#ffffff”; font-size:8pt”>It is the biggest and the most authenticated website for all the Top and Best things you are curious about. From Schools, Restaurants, Suburbs in Melbourne Australia, Companies, Pregnancy, Life, Lifestyle, Relationships, Work Life, Cities, Technology, Books, Health to Kurt Cobain quotes and much more…</span></h2>

First H2 tag with different font-sizes responding well. But the second the H2 tag is not responding to font-size changes. I tried H3 tag too, but still same. I have cleared the cache every time and multiple times.

If I remove the second H2 tag, it shows the right size, which is currently on the website too.

My requirement: Current or default size but inside H2 tag.

Post count: 22421

Hello,

Well if you use a span inside the h2, you need to target the span with css. Please provide a link to your site so i can inspect this on your end to provide the proper solution. It would help if you ad classes to the h2 tag you ad. so I can target just the particular elements for example:


The font size you see is added by the span element, not the h2 element.

Thank you!

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.