when the site is viewed on mobile we want to add a search button to the header that would just open the search section of the nav page directly. The existing nav button would still open the default menu tab or last tab active but this button would specifically bring up the search. The button in question would be removed using CSS rules when the site is no longer using the mobile interface.

I know how to add and style the button we want, but not sure how to get it to preform the desired function.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.