Jump to content

Help needed for Re-arrang Position of search bar ?


Recommended Posts

Hi There,

 

I tried to swap the position of "Quick Search" and "New Search in Category". (See label 1 and 2 HERE  post-819482-0-31765300-1440845555_thumb.jpg). (Will remove the "Quick Search" finally.)

 

I have moved "New Search in Category" in front of ""Quick Search" in Admin's BO -> position.

Their place were swapped but "New Search in Category" is located under the "Logo". (See the result HERE  post-819482-0-74545900-1440845556_thumb.jpg).

 

I have searched on forum and found tpl file is required to change, however, there is NO tpl file in  "New Search in Category".

The testing site can be accessed here http://cop9gun.com/prshopNEW/index.php.

 

p.s. I'm using default theme and 1.6.0.14

 

Anyone can help ?!

 

Many thanks in advance.

David

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

post-1031870-0-73544700-1440864977_thumb.png

 

I'm not sure if this is how you want it to show up but to do this you need to edit:

 

/root/modules/shopiblocksearch/

 - from css file remove the width and clear properties and add a padding-top: 56px;

 - add class col-sm-5 to the tpl file for id="shopi_search_block_top"

 

/root/themes/your_theme/header.tpl

 - add class col-sm-4 to id="header_logo"

 

search for blockcart.tpl if it's in /root/themes/modules/blockcart and if not /root/modules/blockcart

 - change class to col-sm-3 instead of col-sm-4

 

Hope this helps.

 

 

 

  • Like 1
Link to comment
Share on other sites

attachicon.gifdownload.png

 

I'm not sure if this is how you want it to show up but to do this you need to edit:

 

/root/modules/shopiblocksearch/

 - from css file remove the width and clear properties and add a padding-top: 56px;

 - add class col-sm-5 to the tpl file for id="shopi_search_block_top"

 

/root/themes/your_theme/header.tpl

 - add class col-sm-4 to id="header_logo"

 

search for blockcart.tpl if it's in /root/themes/modules/blockcart and if not /root/modules/blockcart

 - change class to col-sm-3 instead of col-sm-4

 

Hope this helps.

Thanks. It should what I expect.

I will try your advise.

Link to comment
Share on other sites

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...