Jump to content

how to edit top horizontal menu


Gigi76

Recommended Posts

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!

Immagine.jpg

Link to comment
Share on other sites

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!

Immagine.jpg

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 by Gigi76 (see edit history)
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...