JayHuggins Posted November 25, 2020 Posted November 25, 2020 for my client's site, we want to change the color of links in Excerpt text for gold to blue. I have looked at all of the Colors > Section Themes setting and I don't see any options for Links in Summary blocks. Is there a custom CSS code that I can drop in? https://earthworm-mustard-2z3y.squarespace.com/insights#ideas PW: Daisy!
JayHuggins Posted November 25, 2020 Author Posted November 25, 2020 Found a solution right after I posted /* This section controls the color of links in Excerpts in any Summary layout*/ .summary-excerpt a { color: #2D4977 !important; }
JayHuggins Posted November 25, 2020 Author Posted November 25, 2020 I'm so confused! If I put the code above into the site-wide Custom CSS panel, it works just fine. But if I put it into the Advanced code pane of a specific page it DOESN'T work. Furthermore, similar (but different) code injecting into the Home page header DOES work but is canceled out if I put conflicting code back into the site-wide panel. I am sure I'm missing something simple but I just can't figure it out.
creedon Posted November 25, 2020 Posted November 25, 2020 19 minutes ago, JayHuggins said: But if I put it into the Advanced code pane of a specific page it DOESN'T work. Let's take this one first. When you put the code in Page Settings > Advanced > Page Header Code Injection did you wrap it in a <style> tag? <style> /* This section controls the color of links in Excerpts in any Summary layout */ .summary-excerpt a { color: #2D4977 !important; } </style> Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.
JayHuggins Posted November 25, 2020 Author Posted November 25, 2020 8 hours ago, creedon said: did you wrap it in a <style> tag? That's it! I knew it was something small and easy to overlook. Thanks!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.