Styling dynamic link colour of a CMS Rich Text Box

Hi all,

I have created a magazine template with CMS options, and want each of the blog posts to have a custom background colour + custom text colour. This works very well with the ‘Collection field’ element and all the Rich Text elements change colour accordingly. However, somehow the link element overwrites the default colour.

https://fontanel-2019.webflow.io/posts/sudan-archives-i-can-play-the-violin-and-be-lit

Is there a way to overwrite this so that it also makes use of the custom colour I have added to the post?

Thanks in advance!

Have you tried adding in custom code

a {
color: unset;
text-decoration: unset;
}

This should remove default styling of links in browser, and then you apply your styles.

?

1 Like

This works beautifully! Thanks @pepperclip!!

You’re welcome :wink:
Nice use of GT america in your site btw ! And nice layout as well.