Jump to content

Excerpt link color

Recommended Posts

  • Replies 4
  • Views 968
  • Created
  • Last Reply

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
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.

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.