FROM CACHE - en_header

buttons and tabs width extended all the way

elitaco
Explorer
81 1 17

Hi, why does the buttons and tabs width extended all the way after i've added the size chart(first pic)? It should have spacing like second pic.

url: elita.com.sg

elitaco_2-1631786409489.png

 

elitaco_1-1631786376035.png

 

 

Replies 6 (6)
oscprofessional
Shopify Partner
13318 2031 2595

Hello,
Welcome to the Shopify community!
Please Share your store live url with password (if it password protected) where you want to do modification, so that I will solve your issue here!

Please Like and Accept Solution. Free website audit to grow your business Chat on WhatsApp | Email: pallavi@oscprofessionals.com | Skype : oscprofessionals-87 | Hire us | Expert Site Speed Optimization | Performance Site Audit | Shopify Private App | Custom Theme Development & Modifications any Shopify Theme | Shopify SEO | Digital Marketing
elitaco
Explorer
81 1 17

hi, i would like to have some spacing between the tabs and product image (see second pic)

url: elita.com.sg

Zworthkey
Shopify Partner
5581 642 1525

hii, @elitaco 
Please add the size-chart so,
I can solve your issue perfectly.
Thank You.

oscprofessional
Shopify Partner
13318 2031 2595

@elitaco 

form#product_form_6882475507904 {
    width: 58%;
    margin: 0 auto;
}
.product__description.rte {
    margin: 0 auto;
}

Add this css at the bottom of
Online Store->Theme->Edit code->Assets->theme.scss.liquid

Please Like and Accept Solution. Free website audit to grow your business Chat on WhatsApp | Email: pallavi@oscprofessionals.com | Skype : oscprofessionals-87 | Hire us | Expert Site Speed Optimization | Performance Site Audit | Shopify Private App | Custom Theme Development & Modifications any Shopify Theme | Shopify SEO | Digital Marketing
elitaco
Explorer
81 1 17

@oscprofessional hi, it works for desktop, but mobile version is off. It should be extended all the way

elitaco_0-1631844854529.png

 

Zworthkey
Shopify Partner
5581 642 1525

hii @elitaco 
paste this code on top of the theme.scss file.
For the mobile view.

@media only screen and (max-width: 768px) {
.shopify-payment-button {
    width: 40%;
    margin-left: 30%;
}
button.btn.btn--to-secondary.btn--full.product__add-to-cart-button.shopify-payment-btn.btn--secondary {
    width: 40%;
    margin-left: 30%;
}
}

Thank You.