Gigi76 Posted June 21, 2019 Share Posted June 21, 2019 Hi everyone, I have PrestaShop version 1.7.5.1 with the default template. I need to prevent the horizontal menu curtain from opening when the mouse passes. I think I need to change the code within C:\inetpub\wwwroot\themes\classic\assets\css\theme.css , but I have no idea what to change. I found this solution in the forum but it applies to the version of Prestashop 1.6.1.12 in which it says to add in the superfish-modified.css file the line with display: none !important; before .sf-menu > li > ul { padding: 26px 30px 31px; width: 100%; } after .sf-menu > li > ul { padding: 26px 30px 31px; width: 100%; display: none !important; } Has anyone had experience with PrestShop 1.7.5.1? Thank you in advance for any help! Link to comment Share on other sites More sharing options...
Gigi76 Posted June 21, 2019 Author Share Posted June 21, 2019 (edited) 2 ore fa, Gigi76 dice: Hi everyone, I have PrestaShop version 1.7.5.1 with the default template. I need to prevent the horizontal menu curtain from opening when the mouse passes. I think I need to change the code within C:\inetpub\wwwroot\themes\classic\assets\css\theme.css , but I have no idea what to change. I found this solution in the forum but it applies to the version of Prestashop 1.6.1.12 in which it says to add in the superfish-modified.css file the line with display: none !important; before .sf-menu > li > ul { padding: 26px 30px 31px; width: 100%; } after .sf-menu > li > ul { padding: 26px 30px 31px; width: 100%; display: none !important; } Has anyone had experience with PrestShop 1.7.5.1? Thank you in advance for any help! I solved with https://prestabuilder.com/hide-subcategories-in-top-menu-in-prestashop-1-7/ On C:\inetpub\wwwroot\themes\classic\assets\css\theme.css insert at the end: .top-menu[data-depth="1"]{ display:none!important; } Edited June 21, 2019 by Gigi76 (see edit history) 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