AbanteCart Community

Shopping Cart Operations => Support => Topic started by: pawanesh on April 09, 2014, 04:38:24 AM

Title: Search block
Post by: pawanesh on April 09, 2014, 04:38:24 AM
I wonder how search block can be moved from its position to left or right ?

Please have a look at screen shot.
Title: Re: Search block
Post by: abolabo on April 09, 2014, 05:54:06 AM
1. admin menu system->system turn on template debug
2. click on link near setting "storefront" and you'll see notes near each block of your layout on page. click on it and you'll see what tpl used for block.
3. open tpl and add css-class pull-left or pull-right (in case when you use default_html5 template) or add some your css via style attribute

P.S in our case you can edit css in style.css . Try first via developer tools ti define what you need and that move changes to css file
Title: Re: Search block
Post by: pawanesh on April 09, 2014, 09:47:47 AM
Already tried, but could not get desired result.
Title: Re: Search block
Post by: gordontaylor on April 09, 2014, 09:49:59 AM
Check you layout page! That is a thing that can be controlled via the layout. I wanted to move mine, so I created a transparent image HTML block, 300px wide and 5px high, added that block within the layout page and it moved it!

It's a padding issue within the CSS, by my fix was simple effective and didn't mess up the CSS, as you may want different layouts on different pages.
Title: Re: Search block
Post by: pawanesh on April 09, 2014, 09:56:07 AM
Thanks Gordon.

 It has moved to right side but refused to move to the left.

 :) :)