Created
July 13, 2013 06:34
-
-
Save agusmu/5989667 to your computer and use it in GitHub Desktop.
PrimaShop - Centering Header Content (Logo&Menu)
This file contains 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
/* centering header content (logo and menu) */ | |
#header-title, | |
#header-title .site-title, | |
#header-title .site-title a { | |
float:none !important; | |
width:auto !important; | |
text-align: center; | |
background-position: center center !important; | |
} | |
#header-menu, | |
#header-menu .menu-primary { | |
float:none !important; | |
width:auto !important; | |
text-align: center; | |
} | |
#header-menu { | |
padding-bottom: 25px; | |
} | |
#header-menu .menu-primary li { | |
padding: 0 10px; | |
float:none !important; | |
display: inline-block; | |
} | |
#header-menu .menu-primary li:hover ul, | |
#header-menu .menu-primary li.sfHover ul { | |
top: 3em; | |
} | |
#header-menu .menu-primary a, | |
#header-menu .menu-primary a:visited { | |
padding: 0; | |
line-height: 2em; | |
} | |
#header-menu .menu-primary li li a, | |
#header-menu .menu-primary li li a:visited { | |
padding: 10px; | |
text-align: left; | |
line-height: 1.7em; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Tutorial: http://www.primathemes.com/documentation/centering-header-content-logomenu/