Lotusweb Posted June 18, 2014 Share Posted June 18, 2014 Hi! I dont know how to align my submenu to the parent Menu, the submenu always float to the left and I want to align it to its parent Menu. Here is my website: http://lotuswebstudio.com/beta/wuju/ Thanks! Link to comment Share on other sites More sharing options...
vekia Posted June 18, 2014 Share Posted June 18, 2014 to parent <li> element add postion:relative; and for each child <ul> element add position:absolute; will work then :-) Link to comment Share on other sites More sharing options...
Lotusweb Posted June 18, 2014 Author Share Posted June 18, 2014 to parent <li> element add postion:relative; and for each child <ul> element add position:absolute; will work then :-) Thank u very much (again) Vekia! Cheers Link to comment Share on other sites More sharing options...
vekia Posted June 18, 2014 Share Posted June 18, 2014 hello you're welcome so, you added these changes to your menu module? Link to comment Share on other sites More sharing options...
Lotusweb Posted June 18, 2014 Author Share Posted June 18, 2014 hello you're welcome so, you added these changes to your menu module? Yes I did it on my localhost site, I will update it later Link to comment Share on other sites More sharing options...
Maheshmohan1093 Posted June 25, 2015 Share Posted June 25, 2015 Hi , Could you please let me know how to add sub-categories images in the top horizontal menu. Which all files to be modified? Please help. I am using prestashop 1.6. Link to comment Share on other sites More sharing options...
vekia Posted June 25, 2015 Share Posted June 25, 2015 it's not as easy as it seems, it's because contetns of block top menu are generated in php file. and at the moment it is the only one way to achieve it. each menu element must have own id / class then it will be possible to replace text with images Link to comment Share on other sites More sharing options...
Maheshmohan1093 Posted June 26, 2015 Share Posted June 26, 2015 Can you please let me know from which file / line that sub-menus of top horizontal menu are retrieved from the database?? Link to comment Share on other sites More sharing options...
jasiek1984 Posted June 26, 2015 Share Posted June 26, 2015 file modules/blocktopmenu/blocktopmenu.php function generateCategoriesMenu() maybe it's obvious for you (not for me...), but remember to switch off cache, when editing files Link to comment Share on other sites More sharing options...
Maheshmohan1093 Posted July 1, 2015 Share Posted July 1, 2015 Guys, Please refer to the below link for knowing on how to add sub-category images . https://www.prestashop.com/forums/topic/449622-top-horizontal-menu-sub-category-images/?p=2085805 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