Archived topic
Change position in mobile view of search field and primary navigation
3 replies · Started by José on March 5, 2019
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?
Thank you
username: support
Password: abcd
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;
}
David, it works perfect
Thank you
You're welcome