Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0
Bealala

Adding button into navigation menu (York)

Question

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

Share this post


Link to post

8 answers to this question

Recommended Posts

  • 0
3 minutes ago, Bealala said:

This is the url:

https://clownfish-mauve-jds9.squarespace.com

I'm using it as a sample website at the moment.

Thanks!

Your site is private. Please setup password & share url.

Share this post


Link to post
  • 0
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;
}

 

Share this post


Link to post
  • 0

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,

Share this post


Link to post
  • 0
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

 

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...