Jump to content

Search Box Location on classic Theme


Recommended Posts

I have tried to move the search box on the classic theme to between the logo and the login/basket links at the top of the site.

This I did by transplanting the search bar into the displayNav2 hook and then moving this to the top position within that hook.  I then removed the search bar from the displayTop hook.

All good at this point and achieved what I was after on the desktop version of the site, see attached.

However on checking the mobile site I now longer have the search bar under the logo (I assume this is because I've removed it from displayTop hook).

Wonder if anyone has a solution to resolve this?  I'm basically looking to move the search bar into the top area of the desktop site (To allow more space for menu items) but want to leave the mobile site as it is originally, with the search bar immediately below the logo (as per the attached image).

Any helpful suggestions or solutions would be greatly appreciated.

 

Search Desktop.png

Search Mobile.png

Edited by Kharding (see edit history)
Link to comment
Share on other sites

  • 3 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...