Jump to content

Add padding to drop down nav

Recommended Posts

  • 2 years later...
On 12/6/2022 at 11:47 PM, EMILY814 said:

Hi, 

I used the code above to reduce the space in my drop down menu but it brought back the link under the active link. I dont' want that. Here are my codes.

Screen Shot 2022-12-06 at 11.55.05 AM.png

Screen Shot 2022-12-06 at 11.55.31 AM.png

Can you send all code in CSS box?

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

//////////SITE STYLES//////////
//REMOVE UNDERLINED LINKS//
a:link {
  text-decoration: none;
}
:any-link {
  text-decoration: none;
}

//////////NAVIGATION BAR//////////
//REMOVE UNDERLINED LINKS//
.header-nav-item--active a {
    background-image: none !important;
}

//FONT SIZE//
.header-nav-folder-content {
font-size: 80px;
}

//SPACING//
.header-nav-folder-item a {
    line-height: 0.8em;
}

//FONT ON HOVER//
.header-nav-wrapper a:hover {
font-family: Poppins Light !important;
}

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.