beren Posted November 15, 2022 Share Posted November 15, 2022 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: 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) 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
creedon Posted November 15, 2022 Share Posted November 15, 2022 30 minutes ago, beren said: So I'm looking to add a page that's non clickable Would a Link page work? Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
beren Posted December 5, 2022 Author Share Posted December 5, 2022 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment