Tagged: sidebar
- This topic has 22 replies, 6 voices, and was last updated 8 years, 11 months ago by Sakin.
-
AuthorPosts
-
April 1, 2015 at 3:02 pm #54862notjustblackMember
Hi Sakin,
I’m trying to get a sidebar on only my Blog page, not on any of the other pages. If I understand the instructions correctly, I should be able to set the default layout to ‘no sidebar, full width,’ then change the Blog page layout to ‘right sidebar’ in the page editor. However, this doesn’t work for some reason – the sidebar doesn’t appear on the Blog page.
I can set ‘right sidebar’ as the default layout, and manually change every other page to ‘no sidebar, full width.’ That produces the desired result, except that the sidebar appears on WooCommerce product pages, and there seems to be no way to get rid of it. It’s not on the side, either – it’s in the lower right corner, under the product description tab (see here).
Can you help me solve this problem?
Thanks!
April 1, 2015 at 11:30 pm #54881SakinKeymaster@notjustblack: WooCommerce has it’s own template. This theme is not WooCommerce plugin ready. So, you cannot do that. You can add the following css in “Appearance => Theme Options => Custom CSS” box:
.woocommerce-page #container { float: left; width: 690px; } @media screen and (max-width: 1189px) { .woocommerce-page #container { width: 570px; } } @media screen and (min-width: 1001px) { .woocommerce-page #container { padding: 0 40px; } } @media screen and (max-width: 1000px) { .woocommerce-page #container { width: 100%; } }
April 2, 2015 at 12:14 am #54897notjustblackMemberHi Sakin,
Thanks for your help, but I think you misunderstood me. I don’t want the sidebar on product pages or on any page except the blog page. The only reason it’s on other pages now is because I had to make it the default layout for the sidebar to show up on the blog page. I’d like to have ‘no sidebar, full width’ as the default layout, then change the blog page’s layout in the page editor, but that doesn’t work – after I change it in the page editor, there’s still no sidebar on the page. I don’t know why it doesn’t work, but I don’t think it has anything to do with WooCommerce, because the blog page has no WooCommerce content.
Can you tell me how to make that layout setting work? If not, can you give me some code that will hide the sidebar on product pages, search results, 404, and any other page I can’t change in the page editor?
Thanks!
April 2, 2015 at 10:36 am #54931SakinKeymaster@notjustblack: Sorry for min-understanding.
For that:
1. Go to “Appearance => Theme Options => Layout Options”, select “No Sidebar, Full Width” and Save it. This will make your site No Sidebar, Full Width.
2. Then edit the page “Blog” and below you page content editor, you will see “Select Sidebar Layout” meta box, from there you can change the blog page layout to “Right sidebar” and update your page.April 2, 2015 at 11:13 am #54933notjustblackMemberI know I should be able to do that. But that’s what I did, and it’s not working. That’s how my site is now, and there’s still no sidebar on the Blog page.
April 2, 2015 at 5:18 pm #54946SakinKeymaster@notjustblack: Ok I need to check in detail. So, I will email you.
April 5, 2015 at 3:21 pm #55140AndybeeMemberi have this same problem so would appreciate the answer being poster here.
i change just the layout for the blog page to include the sidebar and when I refresh it reloads back as ‘default’, it won’t hold the setting.andybennettuk.co.uk
using catch responsivethanks
AndyApril 5, 2015 at 8:06 pm #55146SakinKeymaster@Andybee: thanks we are looking at this issue with @notjustblack. If you want me to look at your site as well. I will email you directly and you can reply me there.
April 5, 2015 at 8:12 pm #55147AndybeeMemberthanks yes please
andy[at]andybennettuk[dot]co[dot]uk
thanks
AndyApril 5, 2015 at 8:15 pm #55148SakinKeymasterok thanks Andy
April 8, 2015 at 3:17 am #55320Six Mile SourdoughMemberJust wondering if there was a common solution found here. I am having an issue where the Sidebar Layout won’t save for individual pages. I can select an option, but when I save the page, it reverts to the “Default Layout Set in Theme Options.” I’ve tried resetting the layout preferences in the Layout Options but the problem is persisting. I’ve also disabled all of the plugins, but no improvement there either.
I’m using the Adventurous theme.
Any ideas?
Thanks a lot.
April 8, 2015 at 10:20 am #55332SakinKeymaster@Six Mile Sourdough: Is that for new page or old page. Can you create new page and try to change the layout. If this problem still exist then let me know it and I will check in your server.
April 8, 2015 at 9:58 pm #55354Six Mile SourdoughMemberThanks for the quick response. I tried adding a new page and the layout options are working again (only on the new page). Is there anyway to get the functionality back on the old pages? Or do I need to rebuild all of the pages?
Thanks a lot!
April 9, 2015 at 10:48 am #55386SakinKeymaster@Six Mile Sourdough: This is strange, we need to look at this in detail and let you know it
May 13, 2015 at 1:45 am #57599byMukMemberHi Sakin,
I have the same problem. Used your code, but that doesn’t remove the sidebar widget. Tried several things, but none of them work. I would like to have the sidebar on my homepage and contact page, but not on the product pages.
You can email me at [email protected]. Hope we can figure this out!
Regards,
Muk
May 13, 2015 at 10:19 pm #57650SakinKeymaster@byMuk: First can you send me your site URL and let me know what are you trying to do it. Catch Everest theme doesn’t support WooCommerce for that you need to upgrade to Catch Everest Pro.
May 14, 2015 at 12:27 am #57669byMukMemberHi @sakin, I have Catch Responsive. Site url is uwbankopmaat.nl
May 15, 2015 at 10:18 pm #57761SakinKeymaster@byMuk: We haven’t added WooCommercer support in Catch Responsive theme yet. SO, for now to hide the sidebar in your product pages, you can add the following css in “Appearance => Customize => Theme Options => Custom CSS Options” box:
.woocommerce-page #main { width: 100%; } .woocommerce-page .sidebar-primary { display: none; }
January 1, 2016 at 12:03 pm #82003clickaftabMemberHi Sakin,
I am facing the same ‘no side bar’ issue in adventurous theme on my woocommerce shop page. I have applied your given CSS code in custom CSS area, space has been created but nothing to display. Kindly guide me. Thank you in advanced.January 1, 2016 at 12:06 pm #82004clickaftabMemberThis is my shop link:
Pakistani Soghat -
AuthorPosts
- The topic ‘Can't get sidebar on blog page only’ is closed to new replies.