Archived topic
Number of columns of upsells
5 replies · Started by Arnd on February 9, 2019
Hi there,
I would like to show upsell products on the single product page. I switched these on in customizer>layouts>WooCommerce, what worked well. However, I set it to 5 columns but I am getting 4 and the 5th product in a second line.
When using related products, it works well with these settings and I am getting all 5 products in one line.
Could you help to get the same result with the upsells please?
You can see how it looks on the long below. I would only like to use upsells but activated the related products for demo.
Many thanks,
Arnd
Hi there,
Any chance you can disable the Autoptimize so we can see the source code?
Thanks!
Auroptimze disabled and cache emptied.
Hi there,
Try adding this CSS:
.woocommerce .upsells ul.products li.first {
clear: none;
}
Looks like it might be a bug - I'll check it out!
Thanks! :)
Hi Tom,
This works perfectly! Thank you very much.
I am very happy with generatepress and indeed the great support.
Cheers Arnd
Glad I could help! :)