Jump to content

Anchor my main navigation buttons to the right - please help

Recommended Posts

Site URL: http://hbt.com.au

Could anyone help me out with some code to move the buttons to the right side of my header? I had to inject code to make two buttons from pages in my main navigation but I'd like them to sit on the right side of the header while the remaining items (not buttons) stay on the left. 

Site is password protected so if you need to have a look please let me know and i'll hand it over. 

The code I've used for the buttons is as follows: 

Quote

 

// 2 Navigation Buttons //

.header-nav-item:nth-child(5) a, .header-nav-item:nth-child(6) a {
  background: #000000 !important;
  color: #FFFFFF !important;
  width: 120px;
  border-radius: 10px;
  text-align: center !important;
}

// Navigation Padding //

.header-nav-item a {
  padding: 10px !important;
}

// Active Navigation Line //

.header-nav-item--active a {
  background-image: none !important;
}

 

 

Screen Shot 2021-10-19 at 10.42.56 am.png

Link to comment
  • Replies 1
  • Views 401
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

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.