Jump to content

Adding button into navigation menu (York)

Recommended Posts

Hi guys,

I'm new here! I'm trying to add a button in the main navigation menu, unfortunately I am using York and that feature is not supported.

I have found some custom CSS in another forum post but unfortunately doesn't work on York.

I've attached an image of what I mean, I would like a similar button like the "subscribe" button in the attachment.

Could anyone help? I'm absolutely new to CSS so I would really appreciate some help!

Thanks

Screenshot 2019-11-06 at 11.31.31.png

Link to comment
  • Replies 8
  • Views 782
  • Created
  • Last Reply
2 minutes ago, Bealala said:

Done!

Password is: beatrice

Thanks again!

Adding subscribe link to Navigation, the add this code to Home > Design > Custom CSS. Replace /contact with subscribe link.

.nav-item.collection a[href="/contact"] {
    background: brown;
    color: #fff;
    padding: 5px 10px;
}

 

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
Just now, Bealala said:

You're a dream! Thanks so much!

One last question, I've tried to replace "contact" with "services" which is the one I would actually like to be linked, but I just loose the button?

Thanks again,

services page has link: /new-page

 

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.