How to make full width hero banner on supply theme?

Hello,

I want to remove margins from my hero. I would like to have a full width banner in my home page.

If someone can help me with CSS to fix that.

Thanks you in advance :wink:

Hii, @Mvrtgl
Provide me your store URL so,
I can solve it for you.
Thank You.

1 Like

Hey,

Thanks for your help

https://boutique-test-martin-2.myshopify.com/

HIi @Mvrtgl
Paste this code in top of theme.scss file.

main.wrapper.main-content {
    min-width: 1345px !important;
}

Thank You.

Ough it donโ€™t really works :sweat_smile:

Check the site now

Is it in theme.scss.liquid ? :blush:

@Mvrtgl
Yes!

Thanks :blush:

But can you check on the site, there is a problem :confused:

@Mvrtgl
What is the problem??

Hero isnt centred and isnt full width :confused:

@Mvrtgl
provide me a screenshot what you want
Thank you.

@Mvrtgl
Mark the image which you want to edit.
Thank You.

The hero should take all width as you Can see

@Mvrtgl
I will fix it.

1 Like

Thanks a lot :handshake: :handshake:

Have you found something ? :blush:

I found the code, thanks for your help.

.template-index    main.wrapper { 
        max-width:100%;
        padding:0;
        }
.template-index    main.wrapper>* {
        max-width: 1060px;
        margin-left: auto;
        margin-right: auto;
        padding-left:30px;
        padding-right:30px;
    }
#shopify-section-slideshow {
        max-width: 100%;
        width: 100%;
        padding:0;
    }
.flexslider .slides img {
    width:100%;
}
1 Like

oh sorry but the code I found donโ€™t really works, it only removes the top margin but not the left and the right one