Jump to content

Squarespace 7.0 - Button in Navigation Menu Troubleshooting

Recommended Posts

Site URL: https://kazoo-chipmunk-khcn.squarespace.com/

I'm looking to add a button to the primary header nav, but it's also appearing below in the folder dropdown menus. Could anyone help me isolate the button to only appear in the main nav and not in any dropdown folders?

This is the 7.0 template, Five, and I'm using the following code:

nav#main-navigation ul li:last-child a {
   background: #000000;
   color: #ffffff !important;
   padding: 10px 20px !important;
   border-radius: 30px;
   border: 2px solid #ffd966;
}

 

https://kazoo-chipmunk-khcn.squarespace.com/
PW: Sunshine012!

 

Thank you!

Screen Shot 2022-03-04 at 2.08.32 PM.png

Link to comment
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

Use this new code

nav#main-navigation>ul>li:last-child a {
    background: #282828;
    color: #fff !important;
    padding: 10px 20px !important;
    border-radius: 30px;
    border: 2px solid red;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

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

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.