Shopify themes, liquid, logos, and UX
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
Solved! Go to the solution
This is an accepted solution.
@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.
Please share stroe URL.
Thanks!
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.
Valmadre2019
This is an accepted solution.
@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?
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
1. Go to Online Store->Theme->Edit code
2. Asset->/section-image-banner.css ->paste below code at the bottom of the file.
.banner__box>*+.banner__buttons--multiple {margin: 2rem auto 0px ;}
Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024Digital marketers and app developers have tracked activity in apps and websites for yea...
By Ollie Mar 13, 2024February was an exciting month with Shopify Editions, informative webinars, and more! F...
By JasonH Mar 7, 2024