Jump to content

Non Clickable Menu Item in 7.1 - Just some text

Recommended Posts

Hi.

I am looking for a way to create a non-clickable menu item. Basically I just want some text in the menu item.

We previously put some code above the menu (as below) but would like it in the menu (Performance) being the new addition to the menu:

image.thumb.png.48c6a6c04e94142cc1291805dc6cc148.png

I found a article on making a folder non-clickable however that code didn't actually seem to work for me (I'm assuming user error) and I still have the box drop down under the menu (see below)

image.png.b8be886b1eed39303b87e9a3109b1edc.png

 

So I'm looking to add a page that's non clickable Or a folder where I can hide the box that appears or just some 'text' to the start of the menu. 

Any ideas?

https://bullfrog-flatworm-k899.squarespace.com/

Pwd: PaulFarina

Link to comment
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

  • 3 weeks later...

Thanks @creedon - it may have, and apologies for taking a while to come back to you.

This may work. In the end I found some code to make a normal page non-clickable.

I'm sorry whoever I got this from, I obviously didn't record very well to so I can't pay attribution to them.

// Make the first menu item "Performance" non-clickable
div.header-nav-item:nth-child(1)>a {
    pointer-events: none;
}

Link to comment

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.