support

Author Topic: Search block  (Read 5317 times)

Offline pawanesh

  • Newbie
  • *
  • Posts: 34
  • Karma: +10/-0
    • View Profile
Search block
« 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.

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2050
  • Karma: +320/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Search block
« Reply #1 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
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline pawanesh

  • Newbie
  • *
  • Posts: 34
  • Karma: +10/-0
    • View Profile
Re: Search block
« Reply #2 on: April 09, 2014, 09:47:47 AM »
Already tried, but could not get desired result.

gordontaylor

  • Guest
Re: Search block
« Reply #3 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.

Offline pawanesh

  • Newbie
  • *
  • Posts: 34
  • Karma: +10/-0
    • View Profile
Re: Search block
« Reply #4 on: April 09, 2014, 09:56:07 AM »
Thanks Gordon.

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

 :) :)
« Last Edit: April 10, 2014, 09:54:22 AM by pawanesh »

 

Powered by SMFPacks Social Login Mod