In my dawn theme when I add one Button to my home page image banner, the button is in the centre. however when I add two buttons to the home page image banner both the buttons go off to the left hand side of the page, please see in image attached. can someone please help me centre these buttons
Sorry you are facing this issue, it would be my pleasure to help you.
Welcome to the Shopify community!
Thanks for your good question.
Please share your site URL,
I will check out the issue and provide you a solution here.
Hii, @willmvalmadre
Kindly share your store URL so,
I can solve your issue perfectly.
Thank You.
@willmvalmadre
Please share your store password.
Valmadre2019
@willmvalmadre
Paste this code on top of the theme.scss file.
@media only screen and (min-width: 992px) {
.banner__buttons.banner__buttons--multiple {
margin-left: 125px !important;
}
}
Thank you.
where do I place it if I don’t have a theme.scss file?
@willmvalmadre
Paste this in the section-image-banner.css file.
Hey there, i am having the same problem. I added the code as you said but it is not completely align to the center. Can you please help me? my store url is https://re-dressmx.com/ password re-dress01
sorry for that issue can you please try this code
- Go to Online Store->Theme->Edit code
- Asset->/section-image-banner.css ->paste below code at the bottom of the file.
.banner__box>*+.banner__buttons--multiple {margin: 2rem auto 0px ;}