Skip to content

Instantly share code, notes, and snippets.

@agusmu
Last active December 19, 2015 13:19
Show Gist options
  • Save agusmu/5961770 to your computer and use it in GitHub Desktop.
Save agusmu/5961770 to your computer and use it in GitHub Desktop.
PrimaShop - Change header logo and header menu height
/* minimum height of header */
#header {
min-height: 150px;
}
/* fixed height for logo */
.header-logo-active #header-title, .header-logo-active #header-title .site-title, .header-logo-active #header-title .site-title a {
height: 150px;
}
/* toplevel menu padding: 65+20+65=150 */
#header-menu .menu-primary a, #header-menu .menu-primary a:visited {
padding-top: 65px;
line-height: 20px;
padding-bottom: 65px;
}
/* submenu positioning */
#header-menu .menu-primary li:hover ul, #header-menu .menu-primary li.sfHover ul {
top: 150px;
}
#header-menu .menu-primary li:hover ul ul, #header-menu .menu-primary li.sfHover ul ul {
top: 0;
}
@agusmu
Copy link
Author

agusmu commented Sep 28, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment