[Resolved] Search below header (on mobile)

Home Forums Support [Resolved] Search below header (on mobile)

Home Forums Support Search below header (on mobile)

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1223007
    Fabien

    Hi,

    I’ve used the following CSS in order to display the search bar below my header :

    .navigation-search {
        top: 100%;
    } 

    Source : https://generatepress.com/forums/topic/inside-navigation-search-drop-below-like-twenty-fourteen-theme/

    It works well on desktop but not on mobile. Can you please help ?

    Thank you !

    #1223166
    David
    Staff
    Customer Support

    Hi there,

    try adding this CSS:

    #mobile-header {
        position: relative;
    }
    #1223267
    Fabien

    Awesome support, as always !

    #1223342
    David
    Staff
    Customer Support

    Glad to be of help

    #1437475
    Erik

    I’ve used the same to CSS in order to display the search bar below my main navigation. However, I have a 5px border radius on my main navigation and I can’t seem to make this happen on the search bar. What do I need to do to round those corners as well? Thanks!

    #1437477
    Leo
    Staff
    Customer Support

    Any chance you can open a new topic and link me to the page in question?

    Thanks!

    #1437483
    Erik
    #1438051
    Leo
    Staff
    Customer Support

    Thanks 🙂

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