Is it possible to hide the "Quick Action Bar" only from one page on my mobile?
This line not hide it:
$w("#quickActionBar1").hide();
Important forum update
This forum is migrating to one unified Wix community forum starting July 26th, and will be read-only during the process.
Wishlist Page is the official platform for requesting new features. You can vote, comment, and track the status of the requested features.
Thanks for sharing @Lee this has saved my life! However, I can't get this code to work with a dynamic page. Is there an alternative?
@Prakesh
It doesn't hide it on all pages as such. It hides it when you visit that page and in subsequent page loads it's never unhidden (this does seem a lot like pedantry!). Anyway.. Add this to the site tab of the code panel but change the path of the page for which the quick bar should be hidden. The above code is then unnecessary.
So 'url-slug' below would be for http://username.wixsite.com/sitename/url-slug
import wixLocation from 'wix-location';
$w.onReady(function()
{
if(wixLocation.path.length && wixLocation.path[0] === 'url-slug')
$w('#quickActionBar1').collapse();
else
$w('#quickActionBar1').expand();
});
Thanks Benny, but this hides it on ALL the pages.
What if I want to hide it only on one of the pages? A specific page?
It can be done using collapse
$w('#quickActionBar1').collapse(); Remember to put it in the
$w.onReady(function () {
Any update on this? I am having the same problem.