MHCrystal Posted September 5, 2023 Posted September 5, 2023 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; }
WCS Posted September 5, 2023 Posted September 5, 2023 (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! Edited September 5, 2023 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)
MHCrystal Posted September 5, 2023 Author Posted September 5, 2023 Thank you for your response. Unfortunately, this didn't work after selecting / saving the change to white.
tuanphan Posted September 6, 2023 Posted September 6, 2023 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!)
MHCrystal Posted September 6, 2023 Author Posted September 6, 2023 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. tuanphan 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment