Happening now | Office Hours: Customizing Your Theme With Moeed | Ask your questions now!

HOW TO EXTEND THE PRODUCT SIZE, BUY/ADD TO CART BUTTONS AND COLLAPSABLE CONTENT?

HOW TO EXTEND THE PRODUCT SIZE, BUY/ADD TO CART BUTTONS AND COLLAPSABLE CONTENT?

beniwalanish
Tourist
8 0 2
Reply 1 (1)

Made4uo-Ribe
Shopify Partner
10211 2427 3081

Hi @beniwalanish 

In order to extend the buttons you need also to extend the whole width, which is you already set on 1200px. 

If you like to maintain the whole width page. Then we can adjust the product image which is like this. 

Made4uoRibe_0-1715696061114.png

This is the code i use for this image. 

From your Shopify admin dashboard, click on "Online Store" and then "Themes".

Find the theme that you want to edit and click on "Actions" and then "Edit code".

In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

@media screen and (min-width: 990px) {
    .product--large:not(.product--no-media) .product__media-wrapper {
        max-width: 50%;
        width: calc(50% - var(--grid-desktop-horizontal-spacing) / 2);
    }
        }
@media screen and (min-width: 990px) {
    .product--large:not(.product--no-media) .product__info-wrapper {
        max-width: unset !important;
    }
}

 

And Save. 

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.