Dear Support,
How can I make the sticky header not to move the logo and menu when scrolling?
I have managed to achieve fully transparent header with the Custom CSS, but when I start scrolling the logo and navigation menu “jumps by approximately 20-30 pixels.
Below is the custom CSS I have attached to the theme so far:
—
.is-sticky #header.sticky-header .sticky-header-resized {
background-color: transparent!important;
border-bottom: none!important;
-webkit-box-shadow: none !important;
-webkit-linear-gradient: none !important;
box-shadow: none !important;
-moz-box-shadow: none !important;
}
#header .is-sticky .sticky-header {
background-color: transparent!important;
background: -webkit-linear-gradient(top, transparent, transparent)!important;
background: -moz-linear-gradient(top, transparent, transparent)!important;
background: -ms-linear-gradient(top, transparent, transparent)!important;
background: -o-linear-gradient(top, transparent, transparent)!important;
box-shadow: none !important;
-moz-box-shadow: none !important;
}
.sticky-header-resized #logo img {
width: 350px!important;
}
—
I have had a look at the other forum posts and managed to keep the logo size consistent by using the last entry in CSS, but still cannot sort out the movement.
Your help would be greatly appreciated.
Regards
Marek