Sidebar

Support Area Forums Elite Sidebar

Viewing 2 posts - 1 through 2 (of 2 total)
URL to the page in question:
  • Author
    Posts
  • #15766
    Nicholas Minnich
    Participant

    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!

    #15767
    Bill Robbins
    Moderator

    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:

    1. Go to the Theme Options page and select the Advanced tab.
    2. Scroll down to the Custom CSS box and paste this:
      
      .post-type-archive-product #content {
           width: 100%;
      }
      
      .post-type-archive-product #sidebar {
           display: none;
      }
      
    3. Update your settings.

    If you run into any trouble, let me know.

    Thanks,
    Bill

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Sidebar’ is closed to new replies.