AnnieTimmins Posted July 27, 2021 Share Posted July 27, 2021 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
tuanphan Posted July 27, 2021 Share Posted July 27, 2021 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. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
AnnieTimmins Posted July 29, 2021 Author Share Posted July 29, 2021 (edited) Thanks @tuanphan That's working for Q1!! Edited July 29, 2021 by AnnieTimmins Link to comment
Solution tuanphan Posted July 30, 2021 Solution Share Posted July 30, 2021 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. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
AnnieTimmins Posted July 31, 2021 Author Share Posted July 31, 2021 Amazing, sorted. Thanks @tuanphan 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