[Resolved] Hide search on mobile

Home Forums Support [Resolved] Hide search on mobile

Home Forums Support Hide search on mobile

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

    Hey! Is there a way to hide the search icon in the navbar to users visiting my site from mobile?

    #791879
    David
    Staff
    Customer Support

    Hi there,

    try this CSS:

    .mobile-bar-items .search-item {
        display: none;
    }
    #792603
    Uwe

    Hmm It didn’t work unfortunately. Anything else I can try?

    This is the site by the way: coindiligent(DOT)com

    #792707
    David
    Staff
    Customer Support

    Where did you add the CSS? I just tested it by adding it to the top of your additional CSS in the dev tools and it worked.

    Go to Customizer > Additional CSS and paste it in at the very top of the code stack.

    #793411
    Uwe

    Oh I initially added it in Simple CSS.

    It worked indeed, thanks David!

    #793653
    David
    Staff
    Customer Support

    Hmmm… it should work in Simple CSS 🙂 Was there any other CSS above it? If so then there is possibly an error in that CSS that would cause code after it not to work. But glad you got i sorted

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