Jump to content

Move two navigation links to right side

Recommended Posts

Site URL: https://mushroom-turquoise-9rne.squarespace.com/

Password: siera

Hoping to get some help as I'm pretty new to coding... 

I needed to create two buttons in my header, so I followed someone else's advice and converted the last two of my navigation links into buttons. Now I need to move them to the right side of the page so they're not in line with the rest of the nav links on the left side of the page. 

Here is the code I use to convert the two nav links into buttons. 

Thank you in advance!!

// 2 Navigation Buttons //

.header-nav-item:nth-child(5) a, .header-nav-item:nth-child(6) a {
  background: #912812 !important;
  color: #FFFFFF !important;
  width: auto;
  border-radius: 10px;
  text-align: center !important;
  text-transform: uppercase; padding: 12px !important}


// Navigation Padding //

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

// Active Navigation Line //

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

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

Top Posters In This Topic

Top Posters In This Topic

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.