-
AuthorPosts
-
November 8, 2016 at 12:07 am #709559
I want to turn off (disable) the menus for one page of my website. I tried to add code to the CSS (see below), but the menus are still there. The code I used is:
.page-id-380 .main_menu {
display: none;
}The website is bladeelectionresults.com
Thanks,
KurtNovember 8, 2016 at 12:11 am #709561Hey Kurt!
It does work fine on my end, please flush browser cache and refresh your page a few times.
If you would like to disable mobile menu as well, please add following code to Quick CSS.page-id-380 #advanced_menu_toggle { display: none !important; }
Best regards,
YigitNovember 8, 2016 at 12:15 am #709563Great!
One other thing, I have a footer menu that I want to disable, too. How do I also shut that off?
November 8, 2016 at 1:03 am #709573Hey!
Please add following code to Quick CSS as well
.page-id-380 .sub_menu_socket { display: none !important; }
Best regards,
YigitNovember 8, 2016 at 1:18 am #709580This is bizarre. I added the footer CSS code and the main menu header came back.
This is what I’ve added to the Quick CSS:
.page-id-380 #advanced_menu_toggle {
display: none !important;
}.page-id-380 .sub_menu_socket { display: none !important; }
November 8, 2016 at 2:05 am #709587Hi!
Please create a temporary admin login and post it here privately. It seems like there are some errors in your custom CSS code.
Cheers!
YigitNovember 8, 2016 at 2:08 am #709588The admin login info is below. The page is called “Early”.
Thanks,
November 8, 2016 at 2:21 am #709589Hi!
Can you please try de-activating all active plugins and check if that helps? Page ID was changed and i corrected it however that did not help. Also, please try adding the code to enfold/css/custom.css file and check if that helps
Best regards,
YigitNovember 8, 2016 at 8:06 am #709633Yigit:
I de-activated the three plugins on the site and that didn’t fix the main menu issue. We were able to disable the footer menu on the Early page.
This is not a big deal, because this page will only be live for about 8-10 hours and then the index page will run. I just unpublished the index page and the links are not live.
Thanks for your help.
KurtNovember 9, 2016 at 5:03 pm #710325Hi,
I am guessing this one is no longer needed. Could you please confirm otherwise elaborate on the changes that nees to be made at this point? :)
Best regards,
YigitNovember 9, 2016 at 8:33 pm #710434Yes. You can close this post.
Thanks,
Kurt -
AuthorPosts
- The topic ‘Disable menus for one page of site’ is closed to new replies.