What's your biggest current challenge? Have your say in Community Polls along the right column.

remove white spacing

Solved

remove white spacing

joysa
Shopify Partner
14 0 4

Hello, 

 

My theme is stiletto, how can I remove white space between sections in the homepage. And how can I remove the white space in the same section but between images like product images or grid images.

 

Accepted Solution (1)
BSSCommerce-B2B
Shopify Partner
1969 564 566

This is an accepted solution.

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-1725961166126.png

 

 

Step 2: Search for the file theme.css. And add this code snippet to the end of the file.

 

 

 

.collection__products,.featured-collection-grid__products {
    column-gap: 5px !important;
}

 

 

 

IN this step, you can change the value of column-gap smaller or higher as you want.

 

Step 3: Save and reload home page.

=>> The result: 

Product page: 

BSSCommerceB2B_2-1725961222282.png

Home page: 

 

BSSCommerceB2B_3-1725961334022.png

 

 

 

I hope these instructions will help you. If they are helpful, please give us likes and mark as the solution.

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

BSSCommerce-B2B
Shopify Partner
1969 564 566

Hi @joysa ,

Can you kindly share your store link (with the password, if any) with us? We will check it and suggest you a solution if possible.

 

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

joysa
Shopify Partner
14 0 4

the store link is shifabynajla.myshopify.com

the password is shifabynajla

BSSCommerce-B2B
Shopify Partner
1969 564 566

This is an accepted solution.

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-1725961166126.png

 

 

Step 2: Search for the file theme.css. And add this code snippet to the end of the file.

 

 

 

.collection__products,.featured-collection-grid__products {
    column-gap: 5px !important;
}

 

 

 

IN this step, you can change the value of column-gap smaller or higher as you want.

 

Step 3: Save and reload home page.

=>> The result: 

Product page: 

BSSCommerceB2B_2-1725961222282.png

Home page: 

 

BSSCommerceB2B_3-1725961334022.png

 

 

 

I hope these instructions will help you. If they are helpful, please give us likes and mark as the solution.

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

dws_pvt_ltd
Shopify Partner
339 65 84

Hello @joysa, Go to Online Store -> Open Theme customisation and open your any section where you want to remove spacing, and set padding as None to that.

download (43).pngScreenshot from 2024-09-10 15-11-44.png

 

In your section settings select padding to none option.

 

Feel free to reach out if you have any questions or need assistance.
Best Regards,
DWS.

Helpful? then please Like and Accept the Solution.
For any inquiries, please feel free to contact via WhatsApp and Email: sales@dolphinwebsolution.com.
For more information visit our website Dolphin Web Solution Pvt Ltd.

Made4uo-Ribe
Shopify Partner
9179 2190 2706

Hi @joysa 

if you like to remove all white space,check this one. 

From you Admin page, go to Online Store > Themes

Select the theme you want to edit

Under the Asset folder, open the main.css(base.css, style.css or theme.css)

Then place the code below at the very bottom of the file.

 

.section {
    max-width: 100%;
    padding: 0;
}
.featured-collection-grid__products {
    gap: 0;
}
.section.section--includes-product-items.section--vertical-padding-none {
    padding-bottom: 0;
}
.grid.section.section--full-width {
    padding: 0;
}
.grid-item.grid-item--width-50.grid-item--text-center {
    padding-left: 0;
    padding-right: 0;
}
@media (max-width: 959px) {
    .grid-item+.grid-item {
        margin-top: 0
    }
    .swiper-backface-hidden .swiper-slide {
        margin-right: 0 !important;
    }
    .grid.section, .grid.section.section--full-width {
        padding: 0;
    }
}
.shopify-section.footer__parent {
    padding: 0 20px;
}

 

And save. 

Result:

Made4uoRibe_0-1725989343896.pngMade4uoRibe_1-1725989362600.png

 

 

Please don't forget to Like and Mark Solution to the post that helped you. 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.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.

PageFly-Richard
Shopify Partner
4808 1088 1758

Hi @joysa 

 

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>
.section,.grid-item {
padding:0;
}
</style>

PageFlyRichard_0-1726015092733.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!


➜ Optimize your Shopify store with PageFly Page Builder (Free plan available) 


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