Jump to content

SOLVED Search bar slight changes - help needed


Recommended Posts

Hello. I have changed the bg image for the search bar but I can't seem to move the contents inside to line up in the center. If you look at the picture it is stuck at the top of the border. My second question is how do I change the width of the input field like in the picture here.

thank you.

42025_qog9ma9cEMTIgOwGDrzR_t

Link to comment
Share on other sites

Since you dont give us any link, I assume u use the prestashop's default template

1. Open the css file (themes/prestashop/css/global.css)

Find this style

#header_right #search_block_top



Add this value into that style

  padding-top: 5px;


From your picture, I could assume that it has a padding-bottom value as well. You could change it's value if you need it

2. In that css file, find this style

#header_right #search_block_top input#search_query



Add this value into that style

height:15px;



Hope this could work :)

Link to comment
Share on other sites

  • 1 year later...

I hve looked several times for that code in my global.css

#header_right #search_block_top

But it is not thereim pulling my hair out to move the search bar but time to go back to zen i think.

in my control panel i do a search of files in the whole of my root directory and it is not there.

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