Jump to content

How to Get fixed searchbar


Recommended Posts

edit the global.css of yout theme; and change:

 

#columns {
  1. z-index1;
  2. margin-top148px;
}
 
 
.mode_header {
  1. backgroundurl(http://mpkart.com/store/themes/electronues/css/../img/bg/container-header.png#003def center bottom;
  2. positionfixed;
  3. width100%;
  4. z-index1000;
}
 
 
This put the header fized to see always. and scroll the rest of the page
Link to comment
Share on other sites

 

edit the global.css of yout theme; and change:

 

#columns {
  1. z-index: 1;
  2. margin-top: 148px;
}
 
 
.mode_header {
  1. background: url(http://mpkart.com/store/themes/electronues/css/../img/bg/container-header.png) #003def center bottom;
  2. position: fixed;
  3. width: 100%;
  4. z-index: 1000;
}
 
 
This put the header fized to see always. and scroll the rest of the page

 

Hi, Thanks for your effort, this helped me partially, What I wish is that During scroll down, the search bar goes on top and, any thing above search bar is hidden. For an example I am giving link of another presta store. http://kiranaoli.com/

Link to comment
Share on other sites

ok, check this site

 

http://getbootstrap.com/components/#navbar

 

you can put the searchbar into the navv var, and make it float (its ps 1.6 right?)

Hi, Thanks for this info, I will like to this solution, I would request if you can guide me on step by step process of applying it. Considering me a NOOB. This will help many of merchants like me who have very little tech knowledge and wish to create a great E-Com Store. 

Link to comment
Share on other sites

  • 2 weeks later...
×
×
  • Create New...