- This topic has 2 replies, 2 voices, and was last updated 6 years ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- The topic ‘Header enlarge animation on tablets’ is closed to new replies.
Home › Forums › Trusted Pro › Header enlarge animation on tablets
Hi Andy,
On screens above 320px, is there anyway to disable how the header is large when you first access that page, and then its shrinks to a smaller header when you scroll down?
IE. Can I stop the larger header image and just have the smaller header image locked all the time?
Does that make any sense?
Thanks,
Richard
This Additional CSS should do it:
@media screen and (min-width: 321px){
#site-branding {
padding-top: 10px
padding-bottom: 10px;
}
#site-description,
#masthead.style2 #site-description,
#masthead.style3 #site-description {
padding-top: 10px
padding-bottom: 10px;
}
.top-tel,
#masthead.style2 .top-tel,
#masthead.style3 .top-tel {
padding-top: 0;
}
}
These are the padding values when scrolling, applied to screens wider than 320px when not scrolled (on initial page load).
Perfect!
Thanks Andy