RE-CENTER CONTENT LAYOUT (RESET MARGINS)

Solved

RE-CENTER CONTENT LAYOUT (RESET MARGINS)

NHJB
Tourist
3 0 2

Hello, Can anyone please help me with this? I would like to re-center the content..

 

I do not know what I did to make this change happen and don't want to restart 😪

 

436528128_2214231122264555_5461778939075134518_n.jpg

 

Accepted Solution (1)

BSSCommerce-B2B
Shopify Partner
1972 564 566

This is an accepted solution.

Dear @NHJB ,

I have reviewed your requirement, you just need to edit css script and the issue will be resolved.  You can follow my instructions! 

 

Step 1: Go to Admin -> Online store -> Theme > Edit code:

BSSCommerceB2B_0-1717949496431.png

 

Step 2: Search for the file base.css, theme.css, styles.css, or theme.scss.liquid,... And add this code snippet to the end of the file.

 

 

@media screen and (max-width: 768px){
   .product_info-wrapper{
      max-width: 100% !important;
      justify-content: center !important;
   }
}

 

Step 3: Save your code and reload this page.

 

We hope my suggestions will solved your issue.

 

If it is helpful, can you kindly give us many likes and mark the solution for us? 

This can be a reference for other merchants if they have an issue like you and greatly motivate us to contribute to our community. 

Have a nice day, sir! 

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.


B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.


B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.


BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now

View solution in original post

Replies 5 (5)

nvchien
Shopify Partner
55 23 14

Hi @NHJB ,

 

Please try go to Online store -> Themes -> ... -> Edit code, find "base.css" file, and add this code to the last bottom:

@media (max-width:767px){
   .product__info-wrapper{
       max-width: none !important;
       padding: 0 !important;
   }
}

Hope this helps!

- If this solution helped you out, please consider accepting it as a solution and giving it a thumbs-up. Your feedback is valuable to me and the community!
- If you're feeling extra generous, you can always buy me a coffee . Your support helps fuel my Shopify knowledge and keeps the solutions flowing!
- You can also follow more tips and tricks from my blog.

PageFly-Noah
Shopify Partner
1317 233 281

This is Noah from PageFly - Shopify Page Builder App

 

Hi @NHJB  Please add code here to fix it:

Step 1: Online Stores > Themes > Edit code

Step 2: Choose file theme.liquid
Step 3: Add code above the tag </body>

 

<style>
@media screen and (max-width: 767px){
   .product_info-wrapper{
      max-width: 100% !important;
      justify-content: center !important;
   }
}
</style>

 

Hope my solution will help you resolve the issue.

 

Best regards,

Noah | 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.

BSSCommerce-B2B
Shopify Partner
1972 564 566

This is an accepted solution.

Dear @NHJB ,

I have reviewed your requirement, you just need to edit css script and the issue will be resolved.  You can follow my instructions! 

 

Step 1: Go to Admin -> Online store -> Theme > Edit code:

BSSCommerceB2B_0-1717949496431.png

 

Step 2: Search for the file base.css, theme.css, styles.css, or theme.scss.liquid,... And add this code snippet to the end of the file.

 

 

@media screen and (max-width: 768px){
   .product_info-wrapper{
      max-width: 100% !important;
      justify-content: center !important;
   }
}

 

Step 3: Save your code and reload this page.

 

We hope my suggestions will solved your issue.

 

If it is helpful, can you kindly give us many likes and mark the solution for us? 

This can be a reference for other merchants if they have an issue like you and greatly motivate us to contribute to our community. 

Have a nice day, sir! 

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.


B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.


B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.


BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now

Made4uo-Ribe
Shopify Partner
10036 2387 3013

Hi @NHJB 

 Would you mind to share your store URL? 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.
NHJB
Tourist
3 0 2