Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #302084

    Hi!

    I’m trying to hide a specific page from mobile view, I found another post with the same question and you gave him this alternatives:

    Hide menu

    @media only screen and (max-width: 480px) {
    #menu-item-59 { display: none !important; }}

    Hide page

    @media only screen and (max-width: 480px) {
    .page-id-88{ display: none !important; }}

    But I can’t make them work, I tried with multiple pages without any success.
    Thank you!

    #302112

    Hi!

    Set a class of noMobile to the elements you don’t want in the mobile menu:

    Best regards,
    Josue

    #302128

    Hi Josue!

    Thank you for the quick response! Just another question, how do I enable that field “CSS Classes”, I just have the Title Atribute and Navigation Label.

    Thanks again!

    #302130

    Hey!

    Look for Screen Options (top right) > Show advanced menu properties > CSS Classes.

    Regards,
    Josue

    #302135

    Great! Thanks a lot!

    #302136

    You are welcome, always glad to help :)

    Regards,
    Josue

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Hide specific page in mobile devices’ is closed to new replies.