JayHuggins Posted November 25, 2020 Share 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! Link to comment
JayHuggins Posted November 25, 2020 Author Share 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; } Link to comment
JayHuggins Posted November 25, 2020 Author Share 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. Link to comment
Solution creedon Posted November 25, 2020 Solution Share 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 best , and see my profile. Thanks for your support! Link to comment
JayHuggins Posted November 25, 2020 Author Share 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! creedon 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