[Resolved] hide-on-mobile not working

Home Forums Support [Resolved] hide-on-mobile not working

Home Forums Support hide-on-mobile not working

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1586137
    Bernhard

    In the secondary navigation menu I inserted for the Facebook logo the css class hide-on-mobile, but it is still shown on mobile.

    #1586293
    Ying
    Staff
    Customer Support

    Hi Bernhard,
    ​
    Replace this css you’ve added:

    .secondary-navigation .sf-menu>li {
        float: none;
        display: inline-block !important;
    }​

    with this:

    .secondary-navigation .sf-menu>li:not(.hide-on-mobile) {
        float: none;
        display: inline-block !important;
    }
    #1586378
    Bernhard

    Perfect, thank you πŸ™‚

    #1586430
    Ying
    Staff
    Customer Support

    No problem πŸ™‚

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.