Reply 140649 to: Sidebar Position single product page

Avatar: Olga Barlow
Olga Barlow
Support staff
September 24, 2016 at 07:42

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

Go To The Whole Conversation In Topic
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.