donsvenson Posted February 7, 2023 Share Posted February 7, 2023 Hi Community, I'd like to colour (#00a2e0) two words of a list item title to set them apart from the rest of the title. I know how to do this for the list section title using the strong tag but I have not found a solution for an item title since you cannot make words bold and I even tried using html tags inside the title. Hope someone has a solution for this. Kind regards Sven Link to comment
Ziggy Posted February 7, 2023 Share Posted February 7, 2023 Can you share your website URL and page? Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 📈 SEO Space (Referral link) Ⓜ️ Will Myers' Plugins & Tutorials (Referral link) 🔌 Ghost Squarespace Plugins (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
donsvenson Posted February 7, 2023 Author Share Posted February 7, 2023 3 minutes ago, Ziggy said: Can you share your website URL and page? Sorry, totally forgot homepage: https://luxlessons.lu Link to comment
Solution Ziggy Posted February 7, 2023 Solution Share Posted February 7, 2023 I'm not sure this will work, but it looks like you've got a <b> tag on the first item, so we should be able to target that. Try this CSS: section[data-section-id="63d8c53f79bdf80b0293a7ec"] { .list-item-content__title b { color:red !important; } } Let me know if that works for you, and we can go from there. Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 📈 SEO Space (Referral link) Ⓜ️ Will Myers' Plugins & Tutorials (Referral link) 🔌 Ghost Squarespace Plugins (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
donsvenson Posted February 7, 2023 Author Share Posted February 7, 2023 5 hours ago, Ziggy said: I'm not sure this will work, but it looks like you've got a <b> tag on the first item, so we should be able to target that. Try this CSS: section[data-section-id="63d8c53f79bdf80b0293a7ec"] { .list-item-content__title b { color:red !important; } } Let me know if that works for you, and we can go from there. Works perfectly, thanks! Ziggy 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment