Sidebar not working, showing

Hi there,

How can I add sidebar to this page ?

I checked all settings at the sidebar and it works everywhere except this kind of pages. Maybe I am missing something.
Can you please check?

Thank you
Leurent

Hey Leurent,

The link you provided doesn’t go to your website.

Please provide the original link in the Secure Note so that it’s not public.

While we’re waiting for the link, try changing the Page Template to one with sidebar. You can read more details about Page Templates in this documentation: https://theme.co/apex/forum/t/meta-options-pages/144.

If the page you’re trying to show us is not a regular page, we really need the original URL.

Thanks.

Hi,

Yes It’s not a regular page, even If I check ‘All Taxanomies’ at sidebar settings it’s not working

I have updated the above post with the secure note

Thanks

Hi Leurent,

On Theme Options > Layout and Design > Content Layout, is that set to have a sidebar? For the sidebar to appear on archive page you have shared, those settings are required. In case it was already set, we need to double check your setup.

Do you have any customization on the template? Please try to switch from child theme to main. Check if the issue persist. If not, the issue is the code or changes on the child theme. If the issue is not coming from the child theme, please add credentials inside the secure note so we can double check. Thank you.

Hi,

Switching from child theme to main solved the issue. :slight_smile:

The last thing, the image product is full on archive pages https://prnt.sc/qbz94v

How can I adjust the size of product image on archive page to be the same as one product on shop page.

Thank you

Hi Leurent,

Glad that part is now sorted out.

By default on Integrity, it should be the same size with the shop columns. It responds to the following settings on Theme Options > Woocommerce > Shop Columns

Please check again in case you customize archive template. There must be something that overrides those setup.

Hi,

No I haven’t made any changes on template, the only change was for posts

Also checked the Theme Option and settings were correct, I have updated the secure note
Thank you

Hello @leurent,

Thanks for providing the details. I was able to resolve the issue by modifying the loop-start.php file in your Pro child theme. I have added this content:

<?php

// =============================================================================
// WOOCOMMERCE/LOOP/LOOP-START.PHP
// -----------------------------------------------------------------------------
// @version 3.3.0
// =============================================================================

?>

<?php $columns      = x_get_option( 'x_woocommerce_shop_columns' ); ?>
<?php $column_class = ( is_shop() || is_product_category() || is_product_tag() ) ? ' cols-' . $columns : ' cols-3'; ?>

<ul class="products<?php echo $column_class; ?>">

Please check your site now.

Hi,

It works but now products on the homepage are displaying with 3 colums

Thank you

Hi Leurent,

Add the following as a homepage fixed. Add it on Content Page CSS when you edit homepage using the builder:

.home .woocommerce .cols-3 li.product, .home .woocommerce.columns-3 li.product {
    width: 100%;
}

Hope this helps.

Solved :slight_smile: Thank you!

You’re welcome!
We’re glad we were able to help you out.

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