How to reduce left and right padding of a multi column section in Shopify trade theme?

Solved

How to reduce left and right padding of a multi column section in Shopify trade theme?

dan_mz
Tourist
7 0 3

Hi there

 

I am needing to reduce left and right padding of a multi column section in trade theme, specifically when the browser in is full screen on desktop. There is way too much padding around the multicolumn. Once the screen size is reduced to laptop or tablet, the padding is a more appropriate size. I have tried a fair few variations of the code in the base.css file, however it does not appear to be targeting the section properly. For example this one of the combinations I have tried;

.page-width.section-template--23270256574749__multicolumn_r3xNwK-padding {
padding-left: 10px !important;
padding-right: 10px !important;

}

Screen Shot 2024-09-02 at 12.18.29 pm.png

 

Some help with this would be great. 

Cheers

 

Dan 

Accepted Solution (1)
BSSCommerce-HDL
Shopify Partner
2305 835 908

This is an accepted solution.

Hi @dan_mz

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

Step 2: Search file theme.liquid

Step 3: Insert this code above </head> tag:

 

 

<style>
@media screen and (min-width: 750px) {
#shopify-section-template--23270256574749__multicolumn_r3xNwK .multicolumn .page-width, #shopify-section-template--23270256574749__multicolumn_r3xNwK .multicolumn .multicolumn-list__item {
    margin: 0 !important;
    max-width: 100% !important;
}

#shopify-section-template--23270256574749__multicolumn_r3xNwK .multicolumn-card__image-wrapper {
   width: 20% !important;
}
}
</style>

 

 

Hope this can help you,

If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍

 

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

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

View solution in original post

Replies 8 (8)

BSSCommerce-HDL
Shopify Partner
2305 835 908

Hi @dan_mz , Can you kindly share your store link  with us? We will check it and suggest you a solution if possible.

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

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

dan_mz
Tourist
7 0 3

Store link is here https://e687b0-a0.myshopify.com/

 

Thanks 

BSSCommerce-HDL
Shopify Partner
2305 835 908

Hi @dan_mz, Your site has protected password

 

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

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

dan_mz
Tourist
7 0 3

Apologies

 

Password is: eceyai

BSSCommerce-HDL
Shopify Partner
2305 835 908

This is an accepted solution.

Hi @dan_mz

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

Step 2: Search file theme.liquid

Step 3: Insert this code above </head> tag:

 

 

<style>
@media screen and (min-width: 750px) {
#shopify-section-template--23270256574749__multicolumn_r3xNwK .multicolumn .page-width, #shopify-section-template--23270256574749__multicolumn_r3xNwK .multicolumn .multicolumn-list__item {
    margin: 0 !important;
    max-width: 100% !important;
}

#shopify-section-template--23270256574749__multicolumn_r3xNwK .multicolumn-card__image-wrapper {
   width: 20% !important;
}
}
</style>

 

 

Hope this can help you,

If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍

 

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

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

dan_mz
Tourist
7 0 3

Thats got it. Thanks!

 

Is there a way to add this setting globally on all rich text / multicolumn sections?

niraj_patel
Shopify Partner
2391 516 515

Hello @dan_mz 

would you like to share your store URL and password if any please.
so i can check and provide you possible solution for your question.

Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com

wo
Shopify Partner
188 42 42

There may be a maximum width set. You can add

max-width:1600px !important;