April 20, 2021 at 3:43 pm #14755
1) I’m trying to get the shop page to display a fixed sidebar on desktop, and an off canvas sidebar on mobile.
So I have set the off canvas sidebar to be OFF on desktop, and ON for mobile.
[Attached image: img1.png]
This all works perfectly – for now.
2) I am also trying to get the “open sidebar” button on the mobile nav bar to open the filters in the shop sidebar. I managed to do this by applying the options presets on the theme settings page for my shop page and category pages (using the “off_canvas_sidebar_antares” presets).
[Attached image: img2.png]
Again, everything works perfectly here too.
3) However, the problem I have is that when I apply #2, the previous theme settings and button toggles on #1 do not work anymore. The desktop now also shows an off canvas sidebar regardless of that setting.
I have also tested on my staging site with no other plugins and it has the same issue.
In summary, I can get both #1 & #2 to work exactly how I want, but not together. Is there a way to get this to work?
Thank you for your help.April 20, 2021 at 6:44 pm #14760
I have noticed that by changing the options presets, it also prevents a number of other theme settings working too.
If there is a way to achieve #2 (having the sidebar open from the mobile nav bar) without using those presets, I think that would solve what I am aiming to accomplished.April 21, 2021 at 7:06 am #14761
Please, upload all the screenshots you wanted to attach. Also, your website seems to be not working so we can’t check it. https://gyazo.com/d29870e747ac0080ad4b183db43b4a4a
Kind RegardsApril 21, 2021 at 9:22 am #14764
Thanks, yes sure I have added images in links below.April 21, 2021 at 9:24 am #14765
Please, provide us your admin access as well.
Thank youApril 21, 2021 at 9:38 am #14766
Thanks, the login details are below.April 21, 2021 at 11:04 am #14767April 21, 2021 at 11:19 am #14768
The line already is in the class-sticky-bottom-navbar.php
However I no longer seem to have the “inherit” option appearing in the theme settings (though it was there before). Image below.
I noticed the site actually seems to be working as I had hoped though, thank you so much!April 21, 2021 at 11:21 am #14769
Sorry, actually the inherit is applied already too.
Thank you so much for your help, it works great – really appreciate it!April 21, 2021 at 11:42 am #14770
Great, you are welcome! 🙂
The topic ‘Mobile nav bar / Off canvas sidebar’ is closed to new replies.