• Resolved burnuser

    (@burnuser)


    Test with:
    WordPress 5.9
    Theme “Twenty Sixteen”
    Fixed Widget 6.0.4

    Make header or Menu sticky with “Custom Fixed Elements”

    With “old version” it works with:
    #masthead
    .site-header
    .site-header-main
    #site-header-menu
    .site-header-menu

    With “new version” it only works with:
    #masthead
    .site-header

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Thomas Maier

    (@webzunft)

    Hi @burnuser,

    thanks for reaching out.

    We did not make a limitation regarding the stop elements.
    Did you enter all of them at the same time? Maybe that was overlooked in the previous version.

    Is there still an issue you are looking to resolve?
    If so, please send me a link and a description of your goal.

    Thanks!
    Thomas

    Thread Starter burnuser

    (@burnuser)

    Hi Thomas!

    I’ve tried one after another.
    The issue is: The new version doesn’t work with fixed menu in Twenty Sixteen. (I don’t want to fix the whole header.)
    The old version works well with fixed menu.
    I discovered the difference and want to inform you about it, before making the new version standard for all users.

    Plugin Author Thomas Maier

    (@webzunft)

    Hi @burnuser,

    thanks for your feedback.

    I was able to reproduce the problem.

    Right now, I cannot say if this is something that could even work with the new version. I can only promise to discuss this with my colleague.

    Thanks for making me aware of it and providing the details on how to reproduce it!

    Thomas

    Plugin Author Thomas Maier

    (@webzunft)

    Hi @burnuser,

    we checked again and noticed that most of the elements you mentioned in your original post, like .site-header-main are not part of Twenty Sixteen. So it could never have worked based on these selectors in the first place, unless you used a different theme before or have custom-coded these elements.

    So when the two other elements work for you then I consider this question resolved.

    Thanks,
    Thomas

    Plugin Author Thomas Maier

    (@webzunft)

    Scratch my last reply, I was testing on the wrong site. Looking again now on the correct one and the elements are there.

    Plugin Author Thomas Maier

    (@webzunft)

    I just wanted to leave a comment for anyone finding this thread with a similar problem.

    The new, more stable code of Fixed Widget 6.x might not work with any child element. I updated the docs accordingly.

    In a nutshell: the fixed elements are only fixed in their parent element. If the parent element has the same size as the fixed child element, then nothing is visibly fixed.

    In this particular case, as burnuser mentioned correctly, #masthead and .site-header should work.

    • This reply was modified 2 years, 8 months ago by Thomas Maier.
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Problem with Custom Fixed Elements on 6.0.4’ is closed to new replies.