Indice68 Posted May 21, 2017 Share Posted May 21, 2017 (edited) Hello need some help about home menu - Default Theme Prestashop 1.7 Now i have the Menu like img "Menu_1.jpg" If i go with the mouse on this option, the system show/display me the category of each option img "menu_2.jpg" My request is: I like at front page only the option, i need a menu without the category show ? only the option like img "Menu_1.jpg" is this possible? But for sure i need this category show/display on the product page on left side like image img "Menu_3.jpg" Sorry for my english Kind regards indice68 Edited May 21, 2017 by Indice68 (see edit history) Link to comment Share on other sites More sharing options...
Indice68 Posted May 24, 2017 Author Share Posted May 24, 2017 Here what i realy need. i need that Menu not displaying subcategories and category only, i like a menu simple like img 1 on attach. Best Michel Link to comment Share on other sites More sharing options...
Indice68 Posted May 27, 2017 Author Share Posted May 27, 2017 need to hide subcategory on the home page horiz. menu. but ony on the home menu, i like the subcategor in the product page. please help Link to comment Share on other sites More sharing options...
lisandronob Posted June 2, 2017 Share Posted June 2, 2017 Indice68, create new categories and delete all rest To create a new categorie in Main Menu (or Horizontal Menu), you need to Edit the module "Main Menu" In your backoffice search Module > Modules and Services> and search in Installed Modules, "Main Menu" click in Configure and add your Menu Good Luck! By the way, in 1.6 is the same, maybe you can find in youtube some videos Link to comment Share on other sites More sharing options...
Indice68 Posted June 2, 2017 Author Share Posted June 2, 2017 Hi Lisa, No category are ok i need only to hide the sub category but only from top menu in the home page. Link to comment Share on other sites More sharing options...
lisandronob Posted June 4, 2017 Share Posted June 4, 2017 i dont know how you can edit the code to remove/hide sub categories. BUT is more fast and easy create again the menu, very fast Good Luck, Bye Link to comment Share on other sites More sharing options...
Andrej Stas Posted June 7, 2017 Share Posted June 7, 2017 Add this code into /your-theme/assets/css/custom.css - if you wish to hide the subcategories also on phones: .top-menu .sub-menu, #mobile_top_menu_wrapper .top-menu .navbar-toggler{ display: none !important; } - if you wish to hide the subcategories only on big screens and tablets: .top-menu .sub-menu{ display: none !important; } Or you can use Presta Theme Maker and do it in one click (Layout tab > Menu and Search layout > Dropdown menu content and visibility Link to comment Share on other sites More sharing options...
tom.son Posted September 27, 2017 Share Posted September 27, 2017 I would like to display only the first subcategorie in the menu. not the 2. or 3. .. "display only the main categories" in the presta theme maker.. but i don´t want to install a new theme. Andrej, could u please help me with this? thanx Link to comment Share on other sites More sharing options...
pwmkarsten Posted October 7, 2017 Share Posted October 7, 2017 Thanks Andrej for giving the idea of your CSS I have a category tree in the left column, also in the main page and don't want the horizontal top menu But on small devices the categories disappears (category tree) and with no horizontal menu (no categories selected in back office) there is no access to categories. I add the followed code in custom CSS and added the categories in top main menu in back office: @media all and (min-width:768px) {.top-menu { display: none !important; } } On medium/large devices the CSS hides the main menu categories On small devices it shows up if you press the menu (left top) Perhaps not the best solution but it works for me Link to comment Share on other sites More sharing options...
Wn-nook Posted December 7, 2017 Share Posted December 7, 2017 I am unable to add sub category under category option in Menu. Kindly help me. Link to comment Share on other sites More sharing options...
cbca Posted September 10, 2018 Share Posted September 10, 2018 On 10/7/2017 at 3:26 PM, pwmkarsten said: Thanks Andrej for giving the idea of your CSS I have a category tree in the left column, also in the main page and don't want the horizontal top menu But on small devices the categories disappears (category tree) and with no horizontal menu (no categories selected in back office) there is no access to categories. I add the followed code in custom CSS and added the categories in top main menu in back office: @media all and (min-width:768px) {.top-menu { display: none !important; } } On medium/large devices the CSS hides the main menu categories On small devices it shows up if you press the menu (left top) Perhaps not the best solution but it works for me This was a huge help for me, thank you! I use category trees but they don't work on mobile. This allowed me to keep them without cluttering up my desktop version with a second menu. Link to comment Share on other sites More sharing options...
zimmer-media Posted October 9, 2018 Share Posted October 9, 2018 (edited) On 7.10.2017 at 9:26 PM, pwmkarsten said: Thanks Andrej for giving the idea of your CSS I have a category tree in the left column, also in the main page and don't want the horizontal top menu But on small devices the categories disappears (category tree) and with no horizontal menu (no categories selected in back office) there is no access to categories. I add the followed code in custom CSS and added the categories in top main menu in back office: @media all and (min-width:768px) {.top-menu { display: none !important; } } On medium/large devices the CSS hides the main menu categories On small devices it shows up if you press the menu (left top) Perhaps not the best solution but it works for me topic is a year old and i dont know if you need a better solution i use this option in custom.css big screens only depth-level 2 - little screens full depth @media all and (min-width:768px) { .top-menu[data-depth="2"] { display: none !important;} } Edited October 9, 2018 by zimmer-media (see edit history) 1 Link to comment Share on other sites More sharing options...
DailyShopBay Posted November 2, 2018 Share Posted November 2, 2018 (edited) Hi to all, I'm searching since several days a solution by myself but it looks a noway! on mobile devices, we display the top menu button and the main category list; however, once we click on a main category, it open an empty page (not showing products of the subcategories). Of course, on desktop version, the same main categories show produtcs from their subcategories! We use default template and PS 1.7.4.3 May someone has a solution for us? our testing website is: dailyshopbay/dsb1/ Thanks in advance to you all!!! Edited November 4, 2018 by DailyShopBay (see edit history) 1 Link to comment Share on other sites More sharing options...
dluxe-events Posted April 25, 2019 Share Posted April 25, 2019 Hi , I need help to organize the sub menu only part under All Brands in prestashop 1.7.4... https://tarheelfurnituregallery.com If you see is not a line and organiza 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