Jump to content

Adding a button to navigation bar

Recommended Posts

Site URL: https://www.wigglyt.org.uk/

I'm trying to add a second button to the right of the navigation bar. 

I can find a similar query but I need this to link to a section of the homepage (Request a Wiggly T - currently on left of navigation bar) rather than its own page. New to squarespace here so apologies -

As it stands it looks weird in mobile view.

Also the link for Request a T currently isn't quite lining up with the section - I think I've slightly bodged this for now but is there a more robust solution?

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

 

15 hours ago, outtamydepth13 said:

Site URL: https://www.wigglyt.org.uk/

I'm trying to add a second button to the right of the navigation bar. 

I can find a similar query but I need this to link to a section of the homepage (Request a Wiggly T - currently on left of navigation bar) rather than its own page. New to squarespace here so apologies -

As it stands it looks weird in mobile view.

Also the link for Request a T currently isn't quite lining up with the section - I think I've slightly bodged this for now but is there a more robust solution?

Add to Design > Custom CSS

/* Header button */
header#header [href="/home#request"] {
    color: #000;
    background-color: #f5c62e;
    border-color: #f5c62e;
    font-family: 'six-hands-marker';
    padding: 10px;
    border-radius: 6px;
}
.header-nav-list {
    align-items: center;
}

 

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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

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.