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;
}