Header changing size when scrolling on mobile

Home Forums Jevelin Theme Header changing size when scrolling on mobile

Home Forums Jevelin Theme Header changing size when scrolling on mobile

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • tomshaw68
    Participant

    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

    tomshaw68
    Participant

    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;
    }

    tomshaw68
    Participant

    Thank you, this worked!

Viewing 5 posts - 1 through 5 (of 5 total)

Popular choice

Professional Developers At Your Fingertips!

If you need services beyond standard support, we've got your back!

Services we offer:

Demo setup
Advanced customization
Layout adjustment
Graphic work / visualizations
Custom coding
Full WordPress development and design

Services

What we can offer

  • Demo setup +

    If you'd prefer not to handle the installation yourself or need help getting started, we'll set everything up for you.

  • Layout adjustment +

    We'll help you rearrange sections, adjust spacing, and modify the page structure to fit your needs.

  • Advanced customization +

    More complex styling changes, theme option modifications, and third-party integrations.

  • Custom coding +

    If you need something that's not included in the theme, we can code it for you.

  • Graphic work / visualizations +

    Web design services to create custom sections, pages, and blocks for your theme, plus graphics and visualizations.

  • Full WordPress development and design +

    Full website builds, custom theme development, or plugin creation from scratch.

  • About pricing +

    We'll provide a clear quote based on what you need. No hidden fees.

Professional Developers At Your Fingertips!

Custom Work Form