Weebly have addressed this issue in 2016, see
|
#nav-wrap .wsite-nav-0 a, .wsite-nav-1 a, .wsite-nav-2 a, .wsite-nav-3 a {
pointer-events: none;
}
|
- Inserting the code above will make the first four (4) parent (top-level) menu items of your Weebly website non-clickable. You would only want to do that if you have drop down or pop out sub-menu pages relating to parent menu items.
- Important: make sure there is no comma ',' after the 'a' before the '{' bracket.
It is optional whether you insert a space before the '{' bracket.
- Often the first parent menu item is HOME with no sub-menus. Having used the code above, to make HOME clickable again remove the code below.
.wsite-nav-0 a,
|
- The code below makes the third (3rd) parent menu item non-clickable. All other parent menu items will be clickable. Remember, the 1st parent menu item is numbered '0'.
#nav-wrap .wsite-nav-2 a {
pointer-events: none;
}
|
- To make the fifth parent menu item non-clickable you would add the code below before the { bracket.
.wsite-nav-4 a
|
- To find the main-style.css file follow this path in your Weebly website editor:
DESIGN > Edit HTML/CSS > CSS > main-style.css
- Add your code (as above) at the very bottom of the main-style.css code by scrolling down in the right window.
- The third parent menu, 'Web Services' on this website has been made non-clickable using this method - using the last code above.
-
We acknowledge Domz who offers a more technical explanation of this methodology for creating non-clickable Weebly parent menu items.
Weebly have addressed this issue in 2016, see
http://preview.tinyurl.com/weeblynon-clicklink
Value Websites advises that you should apply this methodology and
NOT follow the instructions above.
Very helpful post. This was driving me mad. Should be a simple operation to implement but it seems that its not that straight forward. My solution was to have the top menu page as an alternative to the drop down list. Just listed all the pages in the drop down and added links. I also had feedback that some people wern't able to click the drop down links. maybe an old browser issue, so this work around solved this problem too!
That's wonderful Gary. Pleased it has worked for you.
I added this to the bottom of the CSS file:
#nav-wrap .wsite-nav-1 a, .wsite-nav-2 a, .wsite-nav-3 a, .wsite-nav-4 a, .wsite-nav-5 a, .wsite-nav-6 a {
pointer-events: none;
}
Unfortunately, the second page on the nav bar is still clickable. Any advice would be appreciated. Thanks
Hi Rich - I see what you mean. When I view your website on my latest version of Chrome - the second top menu item is clickable; you would prefer it wasn't.
As a trial I inserted your code into my VW website CSS and it worked perfectly.
I can only suggest that you carefully check your website CSS code and see if it begins differently from: #nav-wrap .wsite-nav-1 a,
Pleased to be of help Rick. I see the issue above (2nd top menu clickable) has been sorted. That's wonderful.
Hey, thanks so much for this great trick! I was wondering if there's a way to have a menu item that isn't an actual page (on my site "About" and "History"), since I just made it un-clickable and only have 10 pages to work with. Sorry if I didn't explain that well enough.
I am not sure if I am reading you right Julian but I think you are asking how to link to an external (off site) web page. The path from the Weebly editor is:
PAGES >> + ADD >> External Link
Enter the external URL.
This then becomes a page on your website and you can place it in your menu at any level TOP .... down.
Get back to me if this is not what you are asking.
Of course you would not want to make this page unclickable,
Cheers,
Terry
Good question. The instructions above apply only to top level (parent) menus. I have not explored the issue of how to make lower level menu items unclickable in Weebly sites. There will be a solution. Keep searching....
Hi Terry,
Firstly, thanks for the great guide for the non clickable parent menus. It's been very handy for the designing of my site.
I have a slight problem though that I can't seem to get the two menus in the 'more' drop down non clickable.
I wish for the 'Club Charter' and 'Links' to be non clickable but I'm going round in circles with it. Can you help?
The code I'm trying is:
#nav-wrap .wsite-nav-0 a, .wsite-nav-1 a, .wsite-nav-2 a, .wsite-nav-3 a, .wsite-nav-4 a, .wsite-nav-5 a, .wsite-nav-6 a, .wsite-nav-7 a, .wsite-nav-8 a, .wsite-nav-9 a{
pointer-events: none;
}
Many thanks
As above... Good question. The instructions above apply only to top level (parent) menus. I have not explored the issue of how to make lower level menu items non clickable in Weebly sites. There will be a solution. Keep searching....
It doesn't work for me, parent menu page is still clickeable :(
I inserted your code to reflect the page I want to be non-clickable, but it is still clickable: #nav-wrap .wsite-nav-5 a {
pointer-events: none;
}
I tried putting the code on the bottom of main HOME page as well as on the page CONNECT that I do not want to be clickable.
Please advise.
Eileen I believe that you are not in the right place to add the code. You need to click on the Design tab on your Weebly site. Look at the bottom left and click Edit CSS, then go to the bottom of your main-style.css file and add the code. I hope this helps.
This code works most of the time with Weebly Themes. I think that some of the Themes just don't. A couple of times I got it to work when it didn't at other times. Don't know what I did different but I got it to work. Play around a bit with the placement of the menu. One trick was when I couldn't get one to be non clickable I moved one that needed to be clicked in place of it.
Hmmm... it's a client site, so the pages need to be in the order that they want. But I'll keep that tip in mind for other projects where the menu order doesn't matter. Thanks!
And, I did find a solution! The workaround on this post (http://www.baamboostudio.com/how-to-make-a-page-non-clickable-in-weebly/) solved it for me!
#wsite-menus .wsite-menu {
pointer-events: none;
}
How to define specific menus is something I am trying to figure out,
Weebly have address this issue in 2016, see
http://preview.tinyurl.com/weeblynon-clicklink
Value Websites advises that you should apply this methodology and
NOT follow the instructions below.
Leave a Reply.
Author
Terry Alve - Value Websites Limited
Recent Posts
Popular Posts
Click image for Post
Archives
December 2022
June 2018
October 2017
September 2017
September 2016
July 2016
June 2016
May 2016
April 2016
December 2015
October 2015
July 2015
May 2015
January 2015
December 2014
July 2014
June 2014
May 2014
March 2014
January 2014
November 2013
October 2013
August 2013
June 2013
April 2013
January 2013
December 2012
September 2012
July 2012
June 2012
May 2012
Categories
All
Article
Blog
Bookmarks
Breadcrumbs
Business Articles
Conferences
Consultation
Designer Platform
Discount
Divtag
Ecommerce
Edit Your Webs
Education
Enewsletter
Feedback
Forms
Formstack
For Sale
Freebie
Links
Marketing
Membership Site
Menu
Multi-Media
Network
Payment Processors
Promotional USB
Reviews
Search Engine Optimisation
Seminars
SEO
Shopify
Small Business
Special
Sponsorship
Squeeze Pages
Suppliers
Trades
Upgrade
Value Websites
Video
Web Design
Webinar
Website
Website Building
Website Design
Website Development
Website Editing
Website Valuation
Website Value
Weebly