emma1 Posted April 28, 2014 Share Posted April 28, 2014 (edited) Hi I am trying to place the logo, meny, cart and customer login on the same horizontal line at the very top of the page and also having it fixed when the user scrolls down. (using v. 1.6) Would it be possible to achieve this layout? Cant seem to get all the objects on the same line? Edited April 28, 2014 by emma1 (see edit history) Link to comment Share on other sites More sharing options...
dioniz Posted April 28, 2014 Share Posted April 28, 2014 It is possible but it need quite some tweaking to make it look good. Link to comment Share on other sites More sharing options...
emma1 Posted April 28, 2014 Author Share Posted April 28, 2014 you think it would be possible by tweaking only the css for each element? Link to comment Share on other sites More sharing options...
dioniz Posted April 28, 2014 Share Posted April 28, 2014 I think css and tpl files will be involved in this game . Do you have your site local or online? Link to comment Share on other sites More sharing options...
emma1 Posted April 28, 2014 Author Share Posted April 28, 2014 Local. Its pretty much an empty shop with just the default theme with only cart, account and horizontal meny modules installed. Have you ever done this design yourself? Link to comment Share on other sites More sharing options...
dioniz Posted April 28, 2014 Share Posted April 28, 2014 Not exactly like this but something similar. You will need to play mostly with positions, css and tpl because of bootstrap code in there. For example to make menu more narrow you need to change col-lg-12 to something narrower in .tpl file and change width in css, and so on. Link to comment Share on other sites More sharing options...
emma1 Posted May 12, 2014 Author Share Posted May 12, 2014 (edited) managed to get everything lined up in displaynav. Only issue is that the blocktopmenu seems to use the global css and not the blocktopmenu css when placed in displaynav? Edited May 12, 2014 by emma1 (see edit history) Link to comment Share on other sites More sharing options...
dioniz Posted May 13, 2014 Share Posted May 13, 2014 blocktopmenu.css has only one style in it and it just affect padding. For menu styling it uses superfish-modified.css. Is it loading on your site? Link to comment Share on other sites More sharing options...
emma1 Posted May 13, 2014 Author Share Posted May 13, 2014 sorry, i meant superfish-modified.css. Vekia solved it for me here: http://www.prestashop.com/forums/topic/330044-hook-blocktopmenu-to-displaynav-wrong-css/ Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now