Jump to content

PrestaShop 1.6.x Top Menu & Sub Menu Spacing


Recommended Posts

Hi,

I was reading around to find out how to customize the top menu, change colors etc.

Have got the menu in the default there to look sort of how I want it, well it looks nice and clean  :)

What do I edit so that white space between the main menu and the drop down sub-menu is smaller?

 

Top_Menu_Sub_Menu_Spacing.jpg

Edited by sounds (see edit history)
Link to comment
Share on other sites

hello

what menu you use? it's default one (you said) from screenshots you attached it looks like it's not default one

btw. to deal with DEFAULT TOP MENU styles alter styles in this file: themes/YOUR_THEME/css/modules/blocktopmenu/css/superfish-modified.css

Link to comment
Share on other sites

Thanks for the reply Vekia

That decreases the padding around the top menu.

What I meant was that space between the top menu and the drop down sub-menu

When you hover over the main menu it drops down to show Smart Phones / Phablets / Tablets.

There's a big space between them.

 

Top_Menu_Sub_Menu_Spacing_copy.jpg

Edited by sounds (see edit history)
Link to comment
Share on other sites

Hello

 

As Vekia says:

 

Change the Padding to back to the Default setting of 17px and it will work

 

.sf-menu > li > a {
    font: 600 18px/22px "Open Sans", sans-serif;
    text-transform: uppercase;
    color: #C0C0C0;
    display: block;
    padding: 8px 20px;    (You have 8px not the Default 17px)
    border-bottom: 3px solid #FFFFFF; }
  .sf-menu > li.sfHover > a,
  .sf-menu > li > a:hover, .sf-menu > li.sfHoverForce > a {
    background: #333333;
    border-bottom-color: #6D94CD;
    color: white; }
 
Paul
Link to comment
Share on other sites

  • 9 months later...

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...