Hello,
I was wondering if it is possible to either make the topbar remove itself after scrolling down or to show topbar and fade out entirely after like two seconds (without scrolling).
Kind regards
Hello,
I was wondering if it is possible to either make the topbar remove itself after scrolling down or to show topbar and fade out entirely after like two seconds (without scrolling).
Kind regards
Hey @sitepower,
Regretfully, that is not a feature offered in X nor Pro. It could be possible with custom development but that is outside the scope of our support according to our Terms.
For this, it would be best that you consult with a third party developer.
Thanks.
I understand. I searched for a solution somewhere else and I found some javascript code which seems to do the trick, except the weird thing is it only works when I am inside the Pro editor. When I load the page normally the JS doesn’t seem to be loaded.
Any idea what might cause this? Maybe I forgot something to trigger it. I hope this issue is inside your scope of support 
Hi There,
We are really sorry we can’t give support to a custom JS code due to there is no accountability for the code.
As you mention the . code is working in admin and not working for front end please check if the code is loaded properly in the front end or not.
You can use the code is child theme to check.
Thanks
The code only seems to work when I click on “run” inside customizer/theme options --global js/content js. Otherwise it is not loading. So the javascript code seems fine, but it’s not initiating by itself on the frontend…
I tried loading from wp_header inside functions.php in my childtheme but that didn’t seem to work either.
Is this a known issue with X-theme? Or can something be conflicting?
Sorry for pushing this, but to me it seems an X theme issue. But my knowledge is still limited. Maybe I missed something. And apologies if this is not an X theme/ Pro editor issue. I will stop ‘bugging’ after this last post…
Hi @sitepower,
It’s not a theme issue and if it is then another javascript should behave the same. Plus, we don’t know what’s the javascript and how it works, I recommend contacting the author of the code or a developer.
The run feature is just a simulation and it’s executed when other scripts are already loaded, hence no issue. But it’s different than a live page where javascript loads and runs at the same time where it could be affected by another javascript or another error.
Thanks!
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.