How can I style links inside a class?

Paragraph text is set to black. I have “All links” text color set to red.

I have another section with a dark background. The class for this section has the text color set to red. The text appears in white as expected, but any link inside this dark section still remains red.

How can I style the (parent) dark section so the link also appears in white? (Without using a separate class for the link itself)

With regular CSS this is no problem… but how can I solve this task in Webflow?


Here is my site Read-Only: LINK

Yes you can, by hacking the RT element.

Webflow doesn’t allow defining descendent selectors yet (eg: .class a {} )
Except in the RT element:
CleanShot 2022-03-18 at 12.16.42@2x

So: drag a RT element in the page, give it the class of your other element, create a link in it, unselect the RT, select the link, select All Links in the selector field, then click underneath on limit to the class, define your link styling. Now you can delete your RT, your descendent selector is set.