Brand Pages have Sidebar

I use an extension for WooCommerce called Perfect WooCommerce Brands.

https://usatcorp.com/manufacturer/sierra-wireless/

The sidebar appears in the results, but I do not want it to appear on any of the brand pages.
I got it out of the standard SHOP page, but i need it out of these as well.

Please advise.

Jesse

Hi Jesse,

First option is to remove it totally from the template. You can do it by creating a template specific for this brand. pwb-brand is a custom taxonomy, and each brand is a term inside this taxonomy, so you can take advantage of the default WordPress template hierarchy, more info here: WordPress template hierarchy

Another option is to hide via CSS. Custom CSS can be added on Theme Options > Global CSS. Here’s your guide:

See this sample: https://screencast-o-matic.com/watch/cYh1fBgfXk

We gave a guide because both of this option is outside the scope of our support. Thank you for understanding.

i’m sorry, this isn’t super helpful. Usually I get an actionable answer from the X Theme Team. It’s why i recommend X Theme, it’s why i’ve personally bought dozens of licenses for dozens of clients, including now getting licenses for my full-time employer.

Is there any CSS you can offer me that will solve this problem?

Normally, something as simple as this in the custom CSS would work, but it doesn’t.

.pwb-brand .x-sidebar { display: none; }

Is there any solution you can provide?

Jesse @ USAT

Hello Jesse,

If you want to have a fullwidth shop page and product pages, please go to X/Pro > Theme Options > Layout and Design and set the “Content Layout” to “Fullwidth”. You do not need to add any custom css with this method.

As much as possible, we do not have to provide custom css because most of the time, custom code will create issues and conflicts sooner or later. Further enhancements should be directed to a third party developer since custom development is way beyond the scope of our support.

Thank you for your understanding.

Yes, i already have that set. But for some reason custom taxonomies are treated as CONTENT pages, when they aren’t. So they full from the blog global settings, instead of the main settings, which makes little sense to me.

Hey Jesse,

I checked your page and it’s an archive page that’s why your main settings aren’t working. You can make use of the Chrome Dev Tools to find out the class of your custom taxonomy archive page:

Once you find the correct selector, you can then use it to hide the sidebar.

As Runel pointed earlier, It’s best to avoid custom CSS because it creates conflicts sooner or later. Since you’re using a third party extension there could be a setting for that, if it’s not there I’d recommend you to contact the plugin developer to assist you with this.

Hope this helps!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.