CMS colour link

Hi there,
I have a website where each CMS page has a different colour scheme assigned to it. But when I want to style a ‘related pages’ section, the colours are taken from the separate CMS pages and not the current page. It only happens with links I notice. Does anybody know how to get it right / how to surpass this?

Link: Currant Magazine

Best,
Yin


Here is my public share link: [LINK](Currant Magazine)

Hey Yin,

Looks like it’s inheriting the color from its parent div named “listitem”.

Hard to tell where it’s assigned without a project share link!

Thanks for taking the time to look at this!

Here’s the project share link.

I’d like to pull the colours from the current cms page and not the related cms pages. But I cannot seem to figure out how to do it.

I might misunderstanding you, but couldn’t you just unlink the dynamic color styling?

No it’s not working somehow. Somehow it pulls the colour schemes from the related posts instead of the colour schemes of the page. I have a feeling it’s something to do with links because these related posts are links. Because all other items I am able to style with the colour scheme of the page.

For reference, this is what it looks like:

Honestly not really sure where the set color comes from, but this code will make it so that the divs and links inside of .collection-list-38 inherit the color from the div .collection-list-38. You can put it in your custom code inside head tag and it should solve the issue!

.collection-list-38 div, .collection-list-38 :any-link {
color: inherit !important;

}

Thank you!

Do you also know what I can do to make any link on the entire page the same colour?

Should be able to do it like this, but since it often gets overwritten it won’t always take effect: