Jump to content

(SOLVED)place of search-bar depending on screen-width


Recommended Posts

  • 3 weeks later...

I visited the site you proposed, but unfortunately this is rather unclear for me. I do not see the connection between this site and my problem.

This site explains (I think) the relation between screen-dimensions and what is shown(the complete page)

 

But I just want to place the search-bar a bit to the left

 

I think somewhere prestahop has to define where each element is positioned (relative to another or absloute to the left-margin : position-left param?)

Say that the searchbar begins 400px from the left-edge, I can change it to 300 px f.e. (absolute)

or searchelement is 50px from logo-element, I can change that to 20px )(relative).

 

Where can I change that ?

Link to comment
Share on other sites

Did it a bit different: (after long search )

in blocksearh.css I added on top the param left :

 

#search_block_top {
position:absolute;
<!-- search more to the right param left:50px-->
right: 26%;
left: 50px;
top: 34px;
}

 

Perhaps not the most proper way to do, but the result is there and that's (here) what counts.

 

 

Ps. I will mark this topic as solved

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