Problems - Mobile menu in custom header
Hi,
I have three issues. I have a one-page website and I use a custom header with a mobile menu (hamburger).
1- First problem - in the mobile-only version - the mobile menu (applies to all language versions) automatically scrolls to it when you select the ID, but it doesn't start at the top of the section, but with a gap of about 52 pixels.
2 - Second problem - when the website is in the PL version, everything works fine, but in other language versions (WPML), e.g. EN and UK, I have a problem that when I open the menu [.mfn-header-tmpl-menu-sidebar. mfn-header-classic-mobile-menu] after selecting the # identifier, it scrolls to the section but does not disappear as it does in the PL version.
3 – Third problem – how can I add custom code (additional div with content) in this section [.mfn-header-tmpl-menu-sidebar.mfn-header-classic-mobile-menu] for a child theme?
Comments
Hi,
1, 2) Please always attach a link to your website so we can check it out. If the page is offline(localhost), then our help will be limited. You will have to contact us when the page is online. Also, please make sure that the page is not under maintenance before you provide us with the link.
It is always a good idea to also attach a screenshot showing your issue.
3) We do not provide help with a child theme customization.
https://support.muffingroup.com/documentation/installation-updates/#child-theme
If you want to modify the files, you should contact your web developer instead.
Thanks
OK,
link to website - https://bit.ly/49OiGgw
1) This behavior is correct, as the scroll to ID stops with the offset equal to the header height.
There is no option to change that, as this is calculated automatically.
2) Please send us the WordPress dashboard and FTP access privately through the contact form, which is on the right side at https://themeforest.net/user/muffingroup#contact, and we will check what the reason might be.
Notice!
Please attach a link to this forum discussion.
Sending incorrect or incomplete data will result in a longer response time.
Therefore, please ensure that the data you send are complete and correct.
Thanks
We have received your private message, and we are checking what the reason could be.
Best regards
Your custom JS in Betheme -> Theme options -> Custom CSS & JS -> JS, caused this.
After commenting it out, closing the sidebar works properly in other languages.
Please check it now.
Best regards
Check it out now.
After commenting out the non-standard code, closing the sidebar, and unlocking the hamburger view, you can now verify that it does not work in other languages, but it is fine in Polish.
You have a Cloudflare on your website, and we are not able to properly recheck that.
Please disable it for a while.
Thanks
Cloudflare disabled - please check now.
Best regards
Cache from the Cloudflare held changes, that is why it did not work for you.
If it persists after you reactivate Cloudflare, you must purge the cache.
Best regards
The problem persists. I am sending a video.
BR.
Did you purge the cache?
It might be held by the browser cache as well.
Best regards
Yes, I cleared it - I even ran the test in incognito mode and the slide menu still does not close after selecting the tab from the #id menu.
Please help.
Thank you.