I’ve successfully added a banner to the header using a widget, based on information from a past FAQ. However, I’m looking to make the banner size shrink on scroll, similar to the logo behavior. What would be required to achieve this effect?
Hey rqn,
If you are using the scrinking header on scroll option in the theme, then on scroll the class header-scrolled is added, so if you add a custom class like custom-image then you should be able to use this css:
#header.header-scrolled .custom-image img {
height: 200px !important;
}
assuming that 200px is the height you want it after scroll.
You may need to adjust this for your situation, if you need further help please link to your page so we can examine.
Best regards,
Mike