Jump to content

How to add a call to action button in main navigation? (Om Template)

Recommended Posts

Site URL: https://www.dearbhlaglynn.com/

Hi, I used the following code to add a call to action button in the main navigation bar. Problem is, i'm also getting the buttons on the drop down menus in the navigation. Could someone help me edit the code so it's in the main navigation bar only and not the drop-down? Thanks so much. 

.main-nav li:last-child a {
   background: #000;
   color: #fff !important;
   padding: 10px 20px !important;
   border-radius: 20px;
}

 

Link to comment
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

It looks like you solved with this code?

.main-nav>ul>li:last-child a {
    background: #000;
    color: #fff !important;
    padding: 10px 20px !important;
    border-radius: 20px;
}

 

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.