Hi there, we are using a short code as below and it works great to hide the main nav from that page. We need to include about 10 other pages this way.
.page-id-8524 .main_menu {
display: none;
}
Is there a way to list multiple ID’s in same snippet? THANKS!!!
Hey lobstahhhhhhh!
Please use the code as following
.page-id-8524 .main_menu, .page-id-59 .main_menu {
display: none;
}
Cheers!
Yigit
Yigit, that is great and thank you for such the fast response!
SO, the first two id’s are hiding perfectly but the not the rest. Hmmmm, what’s wrong do you think? THANKS!!!
The code is now:
.page-id-8524 .main_menu, .page-id-3375 .main_menu, page-id-2811 .main_menu, page-id-2798 .main_menu, page-id-3469 .main_menu, page-id-3448 .main_menu, page-id-3467 .main_menu, page-id-3471 .main_menu{
display: none;
}
Hi!
Your are missing a dots in front of page IDs, only first two have. Please edit your code and add dot in front of all page ID’s :)
Regards,
Yigit
Yigit, your team provides AMAZING support. This was perfect and apologize for the oversight. Thank you VERY much. It’s worked perfectly.