Add space between image banners on website (Dawn Theme)

Add space between image banners on website (Dawn Theme)

Justin34
Trailblazer
345 0 91

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!

ALL I THINK ABOUT IS OUR PARKS 🙂
Replies 3 (3)

GemPages
Shopify Partner
5625 1262 1265

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 %}

 

GemPages_0-1672717428964.png

 

The result may look like this:

GemPages_1-1672717511151.png

 

Best regards,
GemPages Support Team

GemPages - Build any high-converting store pages for any business


- If you find my reply helpful, please hit Like and Mark as Solution
- Get connected: App Store | Blog | Community | Help Center
Mirnamoretti
Visitor
1 0 0

How can i change the color of this "space"?

Denishamakwana
Shopify Partner
1408 173 232

Please add below css code in bottom of assets/base.css file

.shopify-section.section {
       margin-bottom15px;
}
Thank you.
If helpful then please Like and Accept Solution. Want to modify or custom changes on store Hire me. Feel free to contact me on denishabhensdadiya@gmail.com | Shopify Design Changes | Custom Modifications In to Shopify Theme