Hi team,
The font for my project description description is inheriting white when it should be black.
See URL:
I have checked the parent divs, all fonts, across all my name classes which are all set to black-besides the ‘Say Hi!’ CTA in the navbar.
Please see the image, if anyone has any clues to why this is happening, please reach out!
Here is my site Read-Only: [LINK]1
(how to share your site Read-Only link)
webdev
(Jeff Selser)
2
Your CSS for all paragraph tags <p>
is color: rgba(255, 255, 255, .6);
So if you want to style the paragraphs inside the rich-text element with the class of .product-description
you need to target that child element.
See “Styling elements nested in a rich text field” in Rich text field overview - Webflow University Documentation
1 Like
Got it! thanks, so by default a rich text field inherits the paragraph class?
I did make a class for the project description its self, so not sure why the
is still overwriting it.
I changed it to a text field type for now as a bandage solution
webdev
(Jeff Selser)
4
If there is no element nested class assigned, yes. Inspecting an element in browser dev tools makes it easy to see where styling is coming from.