Tagged: 

Viewing 20 posts - 1 through 20 (of 23 total)
  • Author
    Posts
  • #54862
    notjustblack
    Member

    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!

    #54881
    Sakin
    Keymaster

    @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%;
       }
    }
    #54897
    notjustblack
    Member

    Hi 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!

    #54931
    Sakin
    Keymaster

    @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.

    #54933
    notjustblack
    Member

    I 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.

    #54946
    Sakin
    Keymaster

    @notjustblack: Ok I need to check in detail. So, I will email you.

    #55140
    Andybee
    Member

    i 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 responsive

    thanks
    Andy

    #55146
    Sakin
    Keymaster

    @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.

    #55147
    Andybee
    Member

    thanks yes please
    andy[at]andybennettuk[dot]co[dot]uk
    thanks
    Andy

    #55148
    Sakin
    Keymaster

    ok thanks Andy

    #55320

    Just 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.

    #55332
    Sakin
    Keymaster

    @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.

    #55354

    Thanks 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!

    #55386
    Sakin
    Keymaster

    @Six Mile Sourdough: This is strange, we need to look at this in detail and let you know it

    #57599
    byMuk
    Member

    Hi 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

    #57650
    Sakin
    Keymaster

    @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.

    #57669
    byMuk
    Member

    Hi @sakin, I have Catch Responsive. Site url is uwbankopmaat.nl

    #57761
    Sakin
    Keymaster

    @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; 
    }
    #82003
    clickaftab
    Member

    Hi 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.

    #82004
    clickaftab
    Member

    This is my shop link:
    Pakistani Soghat

Viewing 20 posts - 1 through 20 (of 23 total)
  • The topic ‘Can't get sidebar on blog page only’ is closed to new replies.