Shopify themes, liquid, logos, and UX
Hi all,
I have 9 image banners on my website. Its pretty much all my website is on the homepage. And I love it. Though I am curious to see what my website would look like with a little white space in between each banner. I may hate it. I may love it. But I want to try it to see what it looks like. Anyone know how I would go about doing that? Thanks so much!
I am using dawn theme
My website is www.PennsylvaniaParks.org
Thank you in advance!
Hi @Justin34
You can add a code to make a white space in between each banner:
1. Go to Online Store -> Theme -> Edit code https://prnt.sc/fJOF9RnL7Rp5
2. Open your theme.liquid theme file
3. Paste the below code before </head>
{% if template == 'index' %}
<style>
.shopify-section .banner {
margin-bottom: 20px !important;
}
</style>
{% endif %}
The result may look like this:
Best regards,
GemPages Support Team
How can i change the color of this "space"?
Please add below css code in bottom of assets/base.css file
Can this be applied to single banners - I am wanting spacing between some of the banners on my home page but not all of them. Thanks!
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025