• Resolved Vivid Ground

    (@vividground)


    Hi i am not sure which element class i should put to make it appear below the sticky menu.

    I tried x-bar and x-masthead but it didnt work.It keeps appearing aboe it. Would be great to get some support 🙂

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Joeri van Veen

    (@ruigehond)

    Hi Vivid Ground, thank you for reaching out.
    x-bar should work, but with a dot in front: .x-bar

    Unfortunately, your menu consists of two parts that are hidden and shown depending on screen size, I have seen this before but the reading progress bar does not take that into account yet, because it would need a lot of extra processing and (imho) it is not best practice to have two seperate menu’s that are shown or hidden depending on screen size. This means, in your case, for the small (mobile) version the reading bar will default to top (as the main menu becomes hidden with a media query).

    In your case it would work if the reading bar picks the first non-hidden element of the specified class in stead of just the first element. This is not a solution for all cases that I have seen but I will look into it this weekend, maybe this solution can be implemented with minimal impact. Will get back to you in this thread.

    Kind regards,
    Joeri van Veen

    Plugin Author Joeri van Veen

    (@ruigehond)

    Hi @vividground, this week I will release a new version (1.4.0) that will likely fix your issue. Will let you know when it’s released.

    Thread Starter Vivid Ground

    (@vividground)

    Thank you so much! You are dearly kind.

    Plugin Author Joeri van Veen

    (@ruigehond)

    Hi @vividground I just published the new 1.4.0 release, which should fix your issue. Please let me know if it does not! When you attach it to .x-bar the reading bar should stay below the sticky menu when available in all screen sizes.

    Thread Starter Vivid Ground

    (@vividground)

    Yes it works! thanks a lot!

    Plugin Author Joeri van Veen

    (@ruigehond)

    Hi, unfortunately in my tests on your site the reading bar, while positioned correctly, is hidden on smaller screens, because the menu bar gets its overflow set to hidden. I don’t see a reason for that but that is besides the point. Do you see the bar on smaller screens?

    You can override this by setting this ‘custom css’ in your theme:
    .m2yb-4.x-bar { overflow: visible; }

    The reading bar itself cannot account for this, since setting styles on other than my own elements could lead to weird consequences. I hope you are able to make this work with your menu. Let me know if I can assist you any further.

    Kind regards,
    Joeri

    Thread Starter Vivid Ground

    (@vividground)

    Hey i set the overflow to be visible it can now be seen ! thanks a bunch ! would you like a free code to the evaluation as a thank you?

    Plugin Author Joeri van Veen

    (@ruigehond)

    Awesome! I see that it works now. Thank you for using my plugin. If you have time, could you give this plugin a five star review? That would help me out, it has been a while since it has been reviewed.

    About the free code, yes I would actually like that, if you can spare one. You have an interesting website, regarding personal development, something I am also into, keep up the good work! (My e-mail is listed here in the first paragraph: https://ruigehond.nl/over-ruigehond)

    Since everything seems to be working, I will mark this topic as resolved.

    Kind regards,
    Joeri

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Difficulty putting the bar below the sticky menu’ is closed to new replies.