Single page application show header on scroll

Home Forums Jevelin Theme Single page application show header on scroll

Home Forums Jevelin Theme Single page application show header on scroll

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
  • evgenizero
    Participant

    Hello, I have a single page application and I would like to have my header gone when page is first loaded and does only show when the user scrolls down the page.

    Hi @evgenizero,

     

    I hope you are well today and thank you for your question.

     

    Could you please share your site URL where the header is displaying so that I can help you?

     

    Best regards,
    Shufflehound team

    evgenizero
    Participant

    I kinda made it work, but I had to hide the logo in the header 🙁 I want to show the logo together with the menu ( the menu shows now when you start scrolling, not sure how I did it )

    You can achieve it by adding the following CSS code in the Custom CSS code option of your theme on the below path.

     

    Admin Area -> Jevelin -> Theme Settings -> Custom CSS/JS -> CSS Code

     

    .sh-header.sh-sticky-header {
        display: none;
    }
    
    .sh-header.sh-sticky-header.sh-sticky-header-active {
        display: block;
    }
    

    evgenizero
    Participant

    Unfortunately that doesn’t work. Now once the page is loaded the menu is shown by default, then on scroll it blinks. I want to have it invisible in the beginning then on scroll to show.

    Could you please use the shared CSS code on your website and remove any other related code so that I can test it?

    evgenizero
    Participant

    Absolutely, however how do I get all the CSS code?

    Please use the below custom CSS code.

     

    header#header-section,
    .sh-header.sh-sticky-header {
        display: none;
    }
    
    header#header-section.ut-hero-passed,
    .sh-header.sh-sticky-header.sh-sticky-header-active {
        display: block;
    }
Viewing 8 posts - 1 through 8 (of 8 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