How can I add margin to my homepage using the minimal theme?

Hello.

I am using the minimal theme, I Would like to add some margin to the homepage, currently my content has 0 margin.

Can anyone help please.

Thanks Will

1 Like

Hello There,

Please share your store URL and Screenshot.
So that I will check and let you know the exact solution here.

Hello, www.elsiewolfe.com.

The text an slider are hard up to the edge of the screen.

Thanks

1 Like

Hello There,

  1. In your Shopify Admin go to online store > themes > actions > edit code
  2. Find Asset >custom.css and paste this at the bottom of the file:
.main-content .grid { padding: 0 30px; margin: 0;}
.main-content .grid .grid__item{padding-left: 0;}

@ElsieWolfe

main.wrapper.main-content {
    padding: 20px !important;
}

@ElsieWolfe
Add this code in the bottom of the theme.scss or theme.css file.

I hope it will work. If you need more help let me know. we are always happy to help you.
Thank you