Sidebar
URL to the page in question:
-
Bill,
Under “Content” in theme options, I selected the full-width layout as the default. However, when I try change the blog page to “left-content, right sidebar” no luck. My blog archive stays full width. I tried getting around this by setting “left-content, right sidebar” as my default and manually adjusting the other pages to full-width. That worked until I realized that I needed full-width for my WooCommerce product page…and I encountered the same problem. How can I fix this?
Thanks!
Nicholas,
Great question. The “posts” page in WordPress will ignore everything that you select about that page, except for the title and the URL slug. Everything beyond that, WordPress doesn’t pay attention to. So the posts page will always use the default layout that’s selected in the theme options page.
But you can have a full-width page for your WooCommerce shop page with a bit of custom styling. Here’s how to do that:
- Go to the Theme Options page and select the Advanced tab.
- Scroll down to the Custom CSS box and paste this:
.post-type-archive-product #content {
width: 100%;
}
.post-type-archive-product #sidebar {
display: none;
}
- Update your settings.
If you run into any trouble, let me know.
Thanks,
Bill
- The topic ‘Sidebar’ is closed to new replies.