Currently, I am attempting to reduce the size of the header once scrolling down. My focus is on refining the child theme.
Displayed below is a screenshot illustrating the appearance of the header at the top of the page: https://i.stack.imgur.com/wojGf.png
Below is an image showing how the header changes when slightly scrolled:
https://i.stack.imgur.com/tSVZr.png
This is the desired look that I aim for upon scrolling:
https://i.stack.imgur.com/UOnOf.png
To enlarge the logo, I implemented the following CSS in the child theme:
.site-logo{
max-height:200px;
}
My goal now is to shrink the max-height to 100px when scrolling occurs. Unfortunately, I do not have the know-how to achieve this. Any assistance would be greatly appreciated.