Hello,
I have tried adding the css:
@media only screen and (max-width: 990px) {
.hide-on-mobile {
display: none !important;
}}
and then adding the class name to the menu item but it does not hide in the mobile menu.
Please help
Hey CivicMinds,
Please provide a link to the site in question so we can look into this further. Are you looking to hide specific links?
Best regards,
Jordan Shannon
Hey Jordan,
I am trying to hide some menu pages in the mobile.
For Example Opportunities > Hiring Process : I want this page only to be seen on the desktop menu and not on the mobile menu.
Thank You
Hi,
Add the following to quick css:
@media only screen and (max-width: 767px) {
.sub-menu li:first-child {
display:none;
}}
Best regards,
Jordan Shannon
Hey Jordan,
Thanks for code but I don’t want all the first sub menu pages to be hidden. I want a code where I can select the sub menu items that I want to hide on the mobile.
Hi,
This is not a possible option out of the box. The only solution for this at the moment would be using css to hide those specific items.
Best regards,
Jordan Shannon
Yes, and i am looking for a css code that would do that, I have tried using this code, but it does not work.
@media only screen and (max-width: 990px) {
.hide-on-mobile {
display: none !important;
}}
But when i use this css same code for hiding the sub menu on desktop that works.
@media only screen and (min-width: 990px) {
.hide-on-desktop{
display: none !important;
}}
I would really appreciate it if you could help me with the code