emontagu Posted January 28 Share Posted January 28 Hi Recently set up the site www.montagudigital.com (pw montagudigital). I'm trying to change the last character of my site title (Montagu Digital.) to a hex #5cfff7 via code injections and custom CSS but no luck. Any help would be much appreciated. Thanks Ed Link to comment
Ziggy Posted January 30 Share Posted January 30 I'm not aware of a good way to target the last letter with CSS, but you can use :after to add content (in this case a period) and adjust that color. Remove the period from your site title, and then add this to your Custom CSS: .header-title-text a:after { content:"."; color:#5cfff7; } Let me know if that's a solution that you're happy with! Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com 🔌 Ghost Squarespace Plugins (Referral link)📈 SEO Space (Referral link)⬛ SquareWebsites Plugins (Referral link)☕ Did I help? Buy me a coffee? Link to comment
emontagu Posted January 31 Author Share Posted January 31 (edited) On 1/30/2023 at 9:31 AM, Ziggy said: I'm not aware of a good way to target the last letter with CSS, but you can use :after to add content (in this case a period) and adjust that color. Remove the period from your site title, and then add this to your Custom CSS: .header-title-text a:after { content:"."; color:#5cfff7; } Let me know if that's a solution that you're happy with! Brilliant that works perfectly! Thanks so much. Edited January 31 by emontagu Link to comment
Ziggy Posted January 31 Share Posted January 31 11 minutes ago, emontagu said: Brilliant that works perfectly! Thanks so much. Not a problem, can you mark my post as the solution and give it a thumbs up? Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com 🔌 Ghost Squarespace Plugins (Referral link)📈 SEO Space (Referral link)⬛ SquareWebsites Plugins (Referral link)☕ Did I help? Buy me a coffee? 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