1. Home
  2. Knowledge Base
  3. Customizations
  4. CSS
  5. Display a sidebar on the Shop page but not on the single product page

Display a sidebar on the Shop page but not on the single product page

By default, the platform does not have this option. You can use the following CSS code to Display a sidebar on the Shop page but not on the single product page.

Please follow the steps below:

1. Go to BuddyBoss > Theme Options

2. Under Custom Codes, enable CSS

3. Append the following:

.single-product div#secondary {
    display: none;
}

.single-product div#primary {
    max-width: 100% !important;
}

.product_meta .pr-atts-row {
    display: block !important;
}

4. Save changes 

Note: Any modifications are considered as custom work already. Know more about our Support policy here: https://buddyboss.com/support-policy/

Was this article helpful?

Related Articles

Subscribe to Our Newsletter

Stay In Touch

Subscribe to our Newsletter, and we’ll send you the latest news from BuddyBoss

This field is for validation purposes and should be left unchanged.
This field is hidden when viewing the form

To speak to our Agency consultant, fill in the form found at our Contact Page.