margin on sides of images

Davanc
New Member
4 0 0

Hello, I've been struggling with this wide space on the sides of my images. I want it to be exactly same as the wear active website. I would really appreciate the help. Also the width/ length of the add to card button.

 

Screenshot 2024-01-09 at 2.51.59 PM.jpgScreenshot 2024-01-09 at 2.49.10 PM.jpg

Replies 4 (4)

Abdosamer
Shopify Partner
821 146 161

Hi @Davanc , can you share your store url?

Buy me a Coffee
Email : abdelrahamansamer71@gmail.com
Chat on WhatsApp
Profolio
Abdosamer
Shopify Partner
821 146 161

@Davanc , go to section-main-product.css and add the following code :

.page-width:has(.product) {
    max-width: 150rem !important;
}
Buy me a Coffee
Email : abdelrahamansamer71@gmail.com
Chat on WhatsApp
Profolio

PageFly-Richard
Shopify Partner
4079 913 1567

Hi @Davanc 

 

This is Richard from PageFly - Shopify Page Builder App

 

Please add this code to your theme.liquid above the </head> to get this solved

Step 1: Online Stores > Themes > More Actions > Edit code

Step 2: click on theme.liquid and paste the code above the </head>

<style>
.page-width {
max-width: 1500px  !important;
margin: 0 auto;
}
.product-form__buttons{
max-width: 100% !important;
}
</style>

PageFlyRichard_0-1704853400206.png

 

Hope this can help you solve the issue 

 

Best regards,

Richard | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.