john_p Posted January 3 Share Posted January 3 Hi guys, I'm using this code to style links. However, the color of the font is changing in some instances (e.g. the paragraph text links in the first index section below the banner) and not others - specifically, where there are links in the headings (e.g. the second section title "LinkedIn Video Updates"). What am I doing wrong? TIA! 🙂 #page .sqs-block-html a { text-decoration:none; font-weight:bold } #page .sqs-block-html a:hover{ color:#FFD60A; background-color:#003566; text-decoration:none; } Link to comment
MySquare24 Posted January 3 Share Posted January 3 Please send the website URL. Also send the screenshot of links that you want to modify. 👨✈️Professional Squarespace Developer - Custom Code Contact: Submit Request john_p 1 Link to comment
john_p Posted January 3 Author Share Posted January 3 1 hour ago, MySquare24 said: Please send the website URL. Also send the screenshot of links that you want to modify. https://andrewpain.co.uk/ Apologies, I thought the site link had been included! Here are a couple of screengrabs illustrating the two examples I gave in my original post (both from first couple of sections on the homepage). Text color changing on hover: Text color not changing: Link to comment
Solution Web_Solutions Posted January 4 Solution Share Posted January 4 4 hours ago, john_p said: https://andrewpain.co.uk/ Apologies, I thought the site link had been included! Here are a couple of screengrabs illustrating the two examples I gave in my original post (both from first couple of sections on the homepage). Text color changing on hover: Text color not changing: Add this code #page .sqs-block-html a:hover *{ color: #ffd60a !important; } If my comments are useful, please like and mark my solution as answer. It will encourage me. Thanks MD Rofik Website Designer and Digital Marketer ☕Am I helpful? Want to offer me a coffee? ✉ Send me a message if needed any help. I'll try to reply as soon as possible. Link to comment
john_p Posted January 29 Author Share Posted January 29 @Web_Solutions thanks so much! 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