Last active
December 19, 2015 13:19
-
-
Save agusmu/5961770 to your computer and use it in GitHub Desktop.
PrimaShop - Change header logo and header menu height
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* 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; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Tutorial: http://www.primathemes.com/documentation/change-header-logo-and-header-menu-height/