Jump to content

Production description font color

Recommended Posts

Posted

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

Posted (edited)

@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 I help? Click 👍 or mark it as the solution! This helps others find the answers they need. 

Meghan | Westerly Creative Studio
  
 🍪  Still need your website policies?
Termageddon makes it easy.  
Get 10% off your first year! (< affiliate link) 

Posted

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.

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.