Home › Forums › Space themes support forum › display upsell in the sidebar with 2 columns
display upsell in the sidebar with 2 columns
- This topic has 7 replies, 2 voices, and was last updated 3 years ago by
Luke Nielsen.
-
AuthorPosts
-
November 15, 2022 at 12:49 pm #421212
Jean-MichelParticipantHi
I would like to display upsell in the sidebar with 2 columns. I was able to do that with Elementor, but the upsells are also displayed under the product with 3 columns. Under the product I want related products with 4 columns. If I change that in the theme settings, the upsells are also with 4 columns. How can I change this independently?– Related Products with 4 columns
– Disable upsell under the product
– Upsell in the Siedebar with 2 ColumsMany thanks for your help
Attachments:
You must be logged in to view attached files.November 16, 2022 at 11:28 am #421521
Luke NielsenMemberHello,
Could you please send me a URL link to the product that has the Upsell functionality, also please provide access to the admin dashboard so I can check the settings on your website.
I await your response.
Kind Regards
November 16, 2022 at 11:55 am #421527
Jean-MichelParticipantSoon I will add upsell to all products.
Here’s an example:https://www.jamb-allyouneed.ch/produkt/schlitten-mit-winterfusssack-rueckenlehne-braun/
The upsells are displayed here in the sidebar, but with 4 columns. I only want 2 columns. And no upsell should be displayed under the product. Related 4 columns. I hope this is somehow possible 🙂
Please do not switch on another theme!
Thanks:-)
November 17, 2022 at 3:22 pm #421860
Luke NielsenMemberHello,
Sorry for the delay.
The below code will disable the “Upsells” below the product. Enter it into the “Global Custom CSS” area in Theme Settings -> Custom CSS.
.single-product .xts-single-product .upsells { display: none; }And this one is for making the “Upsells” in 2 columns in the sidebar. Enter it into the “Custom CSS for desktop” area.
.single-product .xts-sidebar .upsells .xts-row-lg-4>.xts-col { flex-basis: 50%; max-width: 50%; width: 50%; }Kind Regards
November 17, 2022 at 3:39 pm #421862
Jean-MichelParticipantHello,
Thanks:-)
But this code doesn’t work:.single-product .xts-sidebar .upsells .xts-row-lg-4>.xts-col { flex-basis: 50%; max-width: 50%; width: 50%; }See, there are still 4 columns:
https://www.jamb-allyouneed.ch/produkt/schlitten-mit-winterfusssack-rueckenlehne-braun/November 17, 2022 at 3:43 pm #421864
Luke NielsenMemberIt is because you forgot to copy the dot
.I have fixed it and now check the page again.
Kind Regards
November 17, 2022 at 4:01 pm #421869
Jean-MichelParticipantYou are the best 😎
Many thanksNovember 17, 2022 at 4:03 pm #421870
Luke NielsenMemberYou are welcome!
Always remember that you can reach out to us with any questions you may have.
We wish you a splendid day!
Kind Regards
-
AuthorPosts
The topic ‘display upsell in the sidebar with 2 columns’ is closed to new replies.
- You must be logged in to create new topics. Login / Register
