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 ![]()
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 ![]()
Hii, @Mvrtgl
Provide me your store URL so,
I can solve it for you.
Thank You.
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 ![]()
Check the site now
Is it in theme.scss.liquid ? ![]()
@Mvrtgl
Yes!
Thanks ![]()
But can you check on the site, there is a problem ![]()
@Mvrtgl
What is the problem??
Hero isnt centred and isnt full width ![]()
@Mvrtgl
provide me a screenshot what you want
Thank you.
@Mvrtgl
Mark the image which you want to edit.
Thank You.
@Mvrtgl
I will fix it.
Thanks a lot
![]()
Have you found something ? ![]()
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%;
}
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