Jump to content

Adjust Header Border Colour

Recommended Posts

Site URL: https://lyceumeducation.squarespace.com/

Hi guys,

I put a line under my header with the following code in CSS:

header#header {
    border-bottom: 1px solid gold;
}

I just need to take away about 120px of the line from the left, because my side nav intersects as you can see. Anyone know how to quickly adjust this?

I tried to add a border-top to my hero section but I can't seem to locate the block ID 

password: lyceum

 

Capture.PNG.0ab9ff1637f49b50c0c582c290470f0d.PNG

 

Link to comment
  • Replies 3
  • Views 779
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Remove your code & try this new code

/* Header border */
header#header:after {
    content: "";
    background-color: gold;
    height: 1px;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 130px;
}
@media screen and (max-width:991px) {
header#header:after {
	left: 0;
}
}

 

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

Create an account or sign in to comment

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

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