Support » Plugin: Dokan - Best WooCommerce Multivendor Marketplace Solution - Build Your Own Amazon, eBay, Etsy » Remove Sidebar
Remove Sidebar
-
Just installed this on our test site and we use the Themify Ultra theme. We’re trying to remove the sidebar from the store pages but it’s not removing. The theme pages are all default full width but all stores have the right sidebar. Just want all stores to have full width. Thoughts?
-
Hello @rebusify ,
First, please try enabling the theme sidebar from wp-admin > Dokan > Settings > Appearance – https://prnt.sc/vjcyat.
This should avoid the default dokan sidebar on the store page. Otherwise, you have to modify the dokan-lite/templates/store.php file to remove the sidebar completely.
Let me know the update on which one works for you.
Thank you ๐
In the store.php file what exactly should be removed?
Hello @rebusify ,
You need to remove line no. 23 from that template – https://prnt.sc/vjv1fn
You may need to adjust the primary section to accommodate the page in full width by replacing this dokan-w8 with dokan-w12 – https://prnt.sc/vjv3as
Thank you ๐
Hi, none of those remove the sidebar from the store page.
Hello @rebusify ,
Okay. If your theme already has a file that overrides the store page then this can happen. Please check under your theme if there is any dokan/store.php file. If you have then remove the sidebar part I mentioned earlier.
If none of these works please contact us through support tickets. Mention this ticket or my name. Share your admin & FTP credentials of the site. I will let you know the solution.
Thank you ๐
Those didn’t work so here’s the fix for those looking to make their store pages full width:
.dokan-store #sidebar {
display: none;
}.dokan-store #content {
width: 100%;
}Hello @rebusify ,
Thanks for sharing the CSS solution.
I hoped the template override will work as it worked for others.
Let me know if I can be helpful in any other cases.
Regards,
Rashed
- You must be logged in to reply to this topic.