Home › Forums › Jevelin Theme › Header changing size when scrolling on mobile
Home › Forums › Jevelin Theme › Header changing size when scrolling on mobile
Hello,
When viewing my site on mobile devices, the header height is too small and when you start to scroll down it appears to the correct height. How can i correct the height of the header to match the height after you start to scroll.
Thanks Tom
Hi Tom,
I hope you are well today and thank you for your question.
You can resolve it by adding the following CSS code in the Custom CSS code option of your theme on the below path.
Admin Area -> Appearance -> Theme Settings -> Custom Code -> CSS Code
header.primary-mobile.primary-mobile-light { min-height: 104px !important; }
Best regards,
Shufflehound team
Thanks, if you look at it now on mobile it seems to look better but there appears a black background behind the header as you slowly start to scroll down. Is there a way for there to be no black background, just the normal transparent one?
Thanks again!
You can try using below custom CSS code to achieve it.
#header-mobile.sh-sticky-mobile-header-active { background: transparent !important; }
Thank you, this worked!