Gomlers Posted January 15, 2016 Share Posted January 15, 2016 (edited) Hi all! I have 5 menu-elements on the top-horizontal menu. Default theme, 1.6.1.0. I would like to stretch all these elements, so that they align perfectly on the full width of the menu-bar. See the image attached - I have WOMEN | DRESSES | T-SHIRTS | MENU ITEM 4 | MENU ITEM 5 I have tried to work something out, but I notice that this menu is put together by 3 different css-files. Any help is appreciated! Edited January 15, 2016 by Gomlers (see edit history) Link to comment Share on other sites More sharing options...
Paulito Posted January 15, 2016 Share Posted January 15, 2016 Hello Using PS 1.6.0.9 default I just put this code at the bottom of global.css /* Tabs on Horizontal Menu full width */ .sf-menu > li > a {padding: 17px 161px!important;} Just change the 161px to whatever you require Before http://screencast.com/t/vKjrvWRZ8Fso After http://screencast.com/t/QJI813SDg0o Paul 1 Link to comment Share on other sites More sharing options...
Gomlers Posted January 15, 2016 Author Share Posted January 15, 2016 Thanks, worked perfectly! :) Link to comment Share on other sites More sharing options...
Skazz Posted March 10, 2016 Share Posted March 10, 2016 Hi, would this work on Prestashop 1.6.1.1? Also, forgive my ignorance, what do the 17 and 161px signify? I.e. how do you know what you would need to change the 161 to? Thanks! Link to comment Share on other sites More sharing options...
Gomlers Posted March 10, 2016 Author Share Posted March 10, 2016 You can just try, and check your site. If 161 is too wide, so the menu uses two lines, you just adjust to ex. 150px. If that is too small, try setting it to 155px and so.. Link to comment Share on other sites More sharing options...
Derres Posted March 12, 2016 Share Posted March 12, 2016 And for solve that issue ? For extend only the border bottom ? http://postimg.org/image/eeiptgct9/ Thanks Link to comment Share on other sites More sharing options...
therefinerz Posted March 13, 2016 Share Posted March 13, 2016 You can just try, and check your site. If 161 is too wide, so the menu uses two lines, you just adjust to ex. 150px. If that is too small, try setting it to 155px and so.. DOesnt work on my site. After installation this is the first change I made but there is no difference. Which global.css you are refering to? Representing thetruelightministry.org Link to comment Share on other sites More sharing options...
Skazz Posted March 14, 2016 Share Posted March 14, 2016 Unfortunately it's not working for me (default theme 1.6.1.1) - my menu already extends over 2 lines as I have lots of categories, but thanks for the clarification! If anyone comes up with a solution for 1.6.1.1, please let me know! All the best! Kat x Link to comment Share on other sites More sharing options...
Derres Posted March 15, 2016 Share Posted March 15, 2016 And for solve that issue ? For extend only the border bottom ? http://postimg.org/image/eeiptgct9/ Thanks Someone knwo the solution for that please ? Thanks 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