Skip to content

Instantly share code, notes, and snippets.

@agusmu
Created August 24, 2013 15:57
Show Gist options
  • Save agusmu/6328946 to your computer and use it in GitHub Desktop.
Save agusmu/6328946 to your computer and use it in GitHub Desktop.
PrimaShop - Logo Overlap On Featured Header
/* fix header height */
#header {
height: 120px;
}
#header .margin {
position: relative;
}
#header-title a.header-logo, #header-title a.header-logo:visited {
position:absolute;
top:0;
left:0;
padding:0;
}
/* reset css above on smaller devices */
@media only screen and (max-width: 1000px) {
#header {
height: auto;
}
#header-title a.header-logo, #header-title a.header-logo:visited {
position:relative;
top:auto;
left:auto;
padding:42px 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