Grid Item space

Solved

Grid Item space

TBS2023
Shopify Partner
279 1 34

Hello

 

I would like to add some spacing between my grid items

but when i do- the item falls back down a row

can you please help

 

https://thebodyshop.com.lb/pages/range

dosawr

TBS2023_0-1718373648779.png

 

Accepted Solution (1)

BSSCommerce-HDL
Shopify Partner
2305 835 907

This is an accepted solution.

Hi @TBS2023

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

BSSCommerceHDL_0-1718375085110.png

 

Step 2: Search file theme.liquid

Step 3: Inside head tags. You need create style tags. After insert my code inside style tags

BSSCommerceHDL_1-1718375111856.png

 

@media only screen and (min-width: 769px) {
    .medium-up--one-third {
        width: calc(33.33333% - 10px) !important;
        margin-left: 10px !important;
    }
}

 

Here is result: 

BSSCommerceHDL_2-1718375221811.png

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 4 (4)

BSSCommerce-HDL
Shopify Partner
2305 835 907

This is an accepted solution.

Hi @TBS2023

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

BSSCommerceHDL_0-1718375085110.png

 

Step 2: Search file theme.liquid

Step 3: Inside head tags. You need create style tags. After insert my code inside style tags

BSSCommerceHDL_1-1718375111856.png

 

@media only screen and (min-width: 769px) {
    .medium-up--one-third {
        width: calc(33.33333% - 10px) !important;
        margin-left: 10px !important;
    }
}

 

Here is result: 

BSSCommerceHDL_2-1718375221811.png

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

Made4uo-Ribe
Shopify Partner
10036 2387 3013

Hi @TBS2023 

Check this one. 

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 only screen and (min-width: 769px) {
    .medium-up--one-third {
        padding: 0 5px;
    }
}

 

And Save. 

Result:

Made4uoRibe_0-1718375910034.png

 

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.

Vinsinfo
Shopify Partner
486 165 169

@TBS2023 Please follow the below steps to add some spacing between the grid items. Let me know whether it is helpful for you.

 
1. Go to "Online stores" -> "Themes".
2. Click action button from the current theme and select "Edit code".
3. Search "theme.css" file and paste below code at the bottom of the file like in the below attached screenshot.
NOTE: You can modify the value of the "padding-left" as per your need.

 

.grid.grid--uniform .grid__item {
  padding-left: 20px;
  width: 33%;
}

 

Vinsinfo_1-1718376382846.png

 

4. Final Result will be like,
Vinsinfo_0-1718376373485.png

 

 

Please provide your support by click "Like" and "Accepted" if our solution works for you. Thanks for your support.
Please reach out to bizdev@vinsinfo.com for any enquires related to Shopify.
Our Services: Custom Theme Development, Theme Customization, Custom Feature Implementation, Data Migration, Custom APP Development, Website Optimization and Google Merchant Center Support
TBS2023
Shopify Partner
279 1 34

Unfortunately nothing happened!