Jump to content

Production description font color

Recommended Posts

Is there a way to change the product description font color site-wide? The color changed to black all of a sudden and I'd like to find a way to restore it to white without having to clear text formatting for every item.

The following code didn't work in custom css:

/* product description color */ .pdp-details-excerpt * { color: white !important; }

Screenshot (12).png

Link to comment

@MHCrystal  You can fix this without code by going to your Color Themes and selecting the color associated with that section. Then scroll down until you find the Product Detail Page section and change the description color there. This will update it site wide for all sections with that background color!

Screenshot2023-09-05at8_47_32AM.thumb.png.329a587ee65185fc5918d53e5029c074.png

Edited by WCS

Did we help? Click 👍 or mark it as the solution! This helps others find the answers they need. 

Meghan, Owner of Westerly Creative Studio
👩‍💻 🍪  Need a low-cost website policies + cookie banner? Termageddon makes it easy.  Get 10% off your first year! (< affiliate link) 

Link to comment
10 hours ago, MHCrystal said:

Thank you for your response. Unfortunately, this didn't work after selecting / saving the change to white.

If that option doesn't work, can you share link to a product? We can check easier

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Thank you so much, tuanphan, for your offer to help with this. It appears that the formatting from pasted text overrides any custom css code or global preference.

The lack of contrast between dark text on a dark background is a pretty serious ADA compliance issue so I did resort to clearing text formatting for every individual item. Going forward, when cutting and pasting text, I know now to clear text formatting after doing so.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.