Jump to content

right justify the last item in the header nav, FIVE theme

Recommended Posts

Hello, I am using theme FIVE and I'd like to move the last or rightmost link in the header nav (BUY THE BOOK, which I have styled like a button) to the right side of the page and have all the rest remain left justified (in the desktop view).  How would I do this with code?

q.jpg

Link to comment
  • Replies 4
  • Created
  • Last Reply

Add to Home > Design > Custom CSS

.horizontal-navigation-bar nav {
    width: 70%;
}
.horizontal-navigation-bar nav ul>li:last-child {
    float: right;
}

 

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

Archived

This topic is now archived and is closed to further replies.

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