Shopify themes, liquid, logos, and UX
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.
Solved! Go to the solution
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:
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:
Home page:
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
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
the store link is shifabynajla.myshopify.com
the password is shifabynajla
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:
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:
Home page:
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
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.
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.
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:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
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>
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.
We recently spoke with Zopi developers @Zopi about how dropshipping businesses can enha...
By JasonH Oct 23, 2024A big shout out to all of the merchants who participated in our AMA with 2H Media: Holi...
By Jacqui Oct 21, 2024We want to take a moment to celebrate the incredible ways you all engage with the Shopi...
By JasonH Oct 15, 2024