Add top spacing in menu when scrolling up from bottom

It happens on my website, but in order not to waste time with data and so that you can verify it faster and more easily, it also happens, for example, in your "itservice6" demo (https://themes.muffingroup.com/be/itservice6/) .

When entering the page there is no problem with the menu, but if you scroll down, reload, and come up all the way again, then for some reason a top space is added above the menu.


It also occurs in:

https://themes.muffingroup.com/be/foodtruck2/


https://themes.muffingroup.com/be/business5/


etc.

Not in all but in almost all. And on my website that happens, and it really looks very bad.

Thank you.

Comments

  • Hi,

    Please, put the following CSS code in Betheme -> Theme options -> Custom CSS & JS -> CSS, and check if the problem persists.


    Thanks

  • CSS code is missing ?

    I guess it's something like


    #Top_bar{top:0}


    This (#Top_bar{top:61px} or similar) is inserted by some JS as style but...

    Could you see that in your demos it happens?

    Can't you fix this in a general way in an update so that it doesn't happen without having to put "patches" in each of the projects?

    I've noticed now but I'm sure there are hundreds of projects where the same thing happens.

    Thanks

  • Sorry for the cut message. Yes, I meant that CSS code.

    We are aware of this issue, but it requires the sticky logo modifications, and it is on our to-do list.

    So, for now, you can use the CSS code.


    Best regards

Sign In or Register to comment.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.