Jump to content

[SOLVED]Top Menu Search Box Size?


Recommended Posts

HI !

I´m trying to change width of top menu search box i thought it was in blocksearch.css, but nothing happens when i change cod : **

#search_block_top #search_query_top {

padding:0 5px;

height:23px;

width:390px;/* 310 */

border:1px solid #666;

border-right: 0 !important;

color:#666;

background:url(img/bg_search_input.png) repeat-x 0 0 #fff;

float: left

 

 

Is´t wrong file i´m serch in?

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

Ah, I misunderstood what you were trying to change. I see now that you are trying to change the search block in the menu.

 

As it turns out you are looking in the wrong place. Find the following in modules/blocktopmenu/css/superfish-modified.css

 

li.sf-search input {
   background: url("../img/search.gif") no-repeat scroll left center #FFFFFF;
   border: 1px solid #777777;
   margin: 6px 6px 0 0;
   padding: 3px 0 3px 20px;
   width: 200px;
}

 

Note I added the width. You can increase/decrease it to meet your needs.

 

Hope that helps!

 

Marty Shue

  • Like 3
Link to comment
Share on other sites

  • 1 month later...
  • 2 years later...
  • 9 months later...

Hi 

I need some help. I am trying to change the width of my search bar as well. I followed the instructions above and nothing happen. What am I doing wrong?

 

Prestashop V.1.5.6.0

 

This is my first time posting anything. Please forgive any mistakes

 

Thanks 

Johnny 

Edited by Johnny2525 (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...