Post heading links not changing colour

Posted in: Newspaper
Post count: 4

Hi there,

We’ve set the accent colour to be red and most elements are working fine. But whenever we try to link post subheadings (we mostly use h4), the headings turn back to black whilst the unlinked ones are red.

example of heading links not changing colour

We’re currently running on Newspaper 8.

For your reference: https://hongkongliving.com/best-kindergartens-hong-kong/

Thank you!

Post count: 20688

Hi,

The post content elements can be colored as you wish, when creating/editing the post
https://www.screencast.com/t/uXXqaOEFF
Or all at once with the option in the theme panel for headings color
https://www.screencast.com/t/9xkyanI4QZ
The color you set there would apply to all the headings in the post content, regardless of linked or not. I have tried setting a color for the headings, and it is applied in both cases, link or no link.

Post count: 4

Hi Simion,

Thanks for getting back to me.

We’ve set the headings colour as the same shade of red as well but the headings still turn back to black after we’ve linked them. Do you know of another way how this might have occurred?

Theme Panel

Thank you so much!

Post count: 20688

Hi,

That could happen because of the theme accent color, this will override the setting I mentioned and color the link with the accent color. So as soon as you create a link from the heading the color will be the accent color for it. I could give you a code for this specifically for the heading links, like this

.td-post-content h4 a {
color: yellow;
}

You can multiply it for the other headings if needed
https://www.screencast.com/t/gTWohZap
Or you could chnage the theme accent color as I see you have done already.

Thanks

Post count: 4

Hi Simion,

It works perfectly. Thank you very much for your help!

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