Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #1342850

    Enfold Theme Options / Header, these settings:
    Header Layout: Slim
    Header behavior: Sticky Header and Shrinking Header
    … when we scroll the page i get the class “header-scrolled!

    Enfold Theme Options / Header, these settings:
    Header Layout: Custom pixel value
    Header behavior: Sticky Header and Shrinking Header
    … when the page is scrolled I do NOT get the class “header-scrolled”

    Just because I chose “Custom pixel value” I don’t get a header-scrolled” class? Is this a bug?

    #1342858

    Hey frankeee,

    I can’t reproduce that problem on a test installation. Which version of the theme are you running?

    Best regards,
    Rikard

    #1342882

    Hi Rikard,
    I´m running the latest Enfold version, latest WP version. To be on the safe side, I also deactivated my child theme. But even without child, no ” class “header-scrolled” as soon as the option “Custom pixel value” is activated.

    Just so we understand each other correctly: the class header-scrolled would have to be written dynamically in the <header> tag.

    If you can’t replicate this, see private content

    #1342899

    Hi,

    Thanks for the update. The login details you posted are not working though, please check and verify.

    Best regards,
    Rikard

    #1342957

    Sorry, the password was not saved. Should work now – please try again.

    #1343110

    Hi,

    Thanks for that. The header scrolled class won’t be added to the header if it’s set to a specific pixel value, since the header won’t change its size if that is the case. That class will only be added if you have a shrinking header for example.

    Best regards,
    Rikard

    #1343123

    Ahh, ok – understand! Thank you for made it clear

    #1343158

    If you need to set these classes dynamically – even though your header should not shrink – then there is a possibility.

    #1343160

    thanks Guenni007, but I found a solution where my header shrink just a litte bit and the class will be added.

    #1343165

    did you have a child-theme avia-snippet-sticky-header.js
    and value calculation like here: https://kriesi.at/support/topic/shrinking-of-header-amount-an-info/#post-1186874

    #1343175

    … no, it works fine for me. Please close this thread.

    #1343183

    Hi frankeee,

    Great, I’m glad that you found a solution which works for you. I’ll go ahead and close this thread for now then, please open a new thread if you should have any further questions or problems.

    Best regards,
    Rikard

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘if "Custom pixel value" is selected – no "header-scrolled" class’ is closed to new replies.