[Resolved] Change position in mobile view of search field and primary navigation

Home Forums Support [Resolved] Change position in mobile view of search field and primary navigation

Home Forums Support Change position in mobile view of search field and primary navigation

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #830102
    José

    Hello, I inserted ajax search through hook for mobile view: inside_mobil_header is the best option I found. Looks good. But I would like to change the order in the position between ajax search and the first navigation. The order I would like the order to be first: primary navigation (where the logo is) and below the ajax search field.

    can be done through hook ?: something like inside/mobil /after /header?

    reference image

    Thank you

    username: support
    Password: abcd

    #830479
    David
    Staff
    Customer Support

    Hi there,

    the Mobile header uses flex, so we can just change the order of the widget with CSS, like so:

    #mobile-header .dgwt-wcas-search-wrapp {
        order: 5;
    }
    #830818
    José

    David, it works perfect

    Thank you

    #830877
    David
    Staff
    Customer Support

    You’re welcome

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