Tagged: hide menu item
Hi Enfold team,
My goal is to hide menu item HOME only when on the HOMEPAGE. Here’s what I tried and it didn’t work:
.page-id-1500 #menu-item-1988; {
display: none !important;
}
Thanks in advance for your wisdom :)
after menu-item-1988 – there is a semicolon – that is not right ! ( If you got more selectors in front of that rule they are separated by commata )
so remove that semicolon:
.page-id-1500 #menu-item-1988 {
display: none !important;
}
Hi,
Please try this CSS instead:
.home #menu-item-1988 {
display: none;
}
Thanks @guenni007 for helping out :-)
Best regards,
Rikard
Thanks for your help gents. Rikard – winner, winner!