This topic has 10 replies, 2 voices, and was last updated 8 years, 3 months ago ago by Olga Barlow
Hi there.
I know I can disable the product diebar on mobile but I think upselling products are important on mobile too.
The problem is, that the sidebar is stacking over the woocommerce product tabs. I think it should move below that:
https://www.8theme.com/demo/xstore/shop/man/shirts/classic-shirt/
BEST!
Hello,
Unfortunately, there is no way to move sidebar below the product tabs and keep tabs full width. But you can change position of upsell products http://prntscr.com/ckise0
Regards
I know this option. But under the products I have the related products slider and I want to use the sidebar.This is very bad :-/. So I must deactivate the sidebar and my customers cannot see upsell products on their mobile devices…
Hello,
We are sorry, but the other way is customization only. You need to move tabs below the product content (xstore/woocommerce/content-single-product.php), but then you’ll have empty space at the right side http://prntscr.com/cky2n5
If you decide to make any changes use child theme to avoid problems with next theme update!
Regards
Ok. I thought that would be the only solution. So I will disable sidebar on mobile…
I have a last question about the sidebar:
I like the design of single product page very much. Only the width of the sidebar is too big and distracts from the product…
I like this width settings for the rows:
<div class=”row”>
<div class=”col-md-10 product-content sidebar-position-right”>
<div class=”row”>
<div class=”col-lg-5 col-md-6 col-sm-12 product-images”>
<div class=”col-lg-7 col-md-6 col-sm-12 product-information”>
</div>
</div>
<div class=”col-md-2 single-product-sidebar sidebar-right”>
What do you think?
How can I set only 1 column with products for upsell products?
And which file I must adjust to archive my goal 🙂 (column upsell products and change columns…)…
BEST and big thanks again!
Hello,
Could you provide screenshot for better understanding?
Regards
Screenshot attached :)!
Hello,
It is much easier to change width using css than change a few template files.
I have added the following code in your custom css:
/*--- Single product page custom---*/
@media (min-width: 1200px) {
.single-product-wide .product-images.col-lg-6.col-md-6 {
width: 40%;
}
.single-product-wide .product-information.col-lg-6.col-md-6 {
width: 60%;
}
.col-md-9.product-content.sidebar-position-right {
width: 80%;
}
.col-md-3.single-product-sidebar.sidebar-right {
width: 20%;
}
.single-product-wide .product-information-inner {
width: 75%;}}
.sidebar-slider li {width: 100%;}
If you want to change number of products per view for your upsell slider you need to copy etheme_create_slider_widget function (xstore/framework/template-elements.php) in child theme functions.php and change it. It shows 4 items by default.
Regards
Ok. I thought it would be a bit difficult to change template files… Maybe you consider to change the view in my way too 😉 then I can get rid of the css overrides…
It is much better on smaller displays (like notebooks) now!
Product-upsell-slider worked. Thanks!
You are welcome!
Regards
You must be logged in to reply to this topic.Log in/Sign up