Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Edits to Keyline under header? Squarespace 7.1


Question

Site URL: https://gar-cow-cwsx.squarespace.com/

Hello!

I've added a keyline under my header of 1px. There are two edits I'd like to make.

1. I'd like the keyline to end at the site margins rather than being full bleed (same as the keylines in the footer).

2. I'd like the header keyline ONLY on the projects page to be #38402e  (follow the colour theme - at the moment is isn't visible)

Can anyone help? 

Thanks! 

Site password: bertie 

Link to comment
  • Answers 4
  • Created
  • Last Reply

Top Posters For This Question

4 answers to this question

Recommended Posts

  • 0
On 7/29/2021 at 1:05 PM, AnnieTimmins said:

Thanks @tuanphan That's working for Q1!!

Add to Design > Custom CSS

/* Projects header underline color */
body#collection-60ed2a12493b4338208a9cb5 header#header:after {
    background: #38402e;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours.

How to: Setup password & share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
  • 0

Q1. First remove this code

.header {
    border-bottom: 1px solid #d2c8cd;
    padding-bottom: 1px;
}

add this code

/* header line */
header#header:after {
    content: "";
    display: block;
    height: 1px;
    width: calc(~"100% - 34px");
    background-color: #d2c8cd;
    margin-left: auto;
    margin-right: auto;
}

Q2. Do Q1 first, then we can check Q2 code.

Email me if you have need any help (free, of course.). Answer within 24 hours.

How to: Setup password & share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...