Hi!
I need help aligning the buttons based on my picture.
https://nothingchanges.com.my/
Thanks in advance!
A user seeks help aligning two buttons on their Shopify store homepage to match a provided screenshot showing desired left-right positioning.
Initial Solutions Attempted:
.banner__box max-width from 95rem to 97rem via CSS media query in base.css, but this did not resolve the issue.Working Solution:
Outcome:
The issue was successfully resolved using the gap-based CSS approach. The original poster confirmed the solution worked as intended.
Hi!
I need help aligning the buttons based on my picture.
https://nothingchanges.com.my/
Thanks in advance!
Hello! I see what you’re aiming for with the button alignment totally doable. I can get that cleaned up and aligned just like in your screenshot. Let me know if you’d like me to jump in. I can take care of it for you as a quick commission.
Hey @nothingchanges ,
In order to change the position of the first button to the left side then you need to ensure that the max-width of the buttons increase. Currently it’s 95rem but if you could make it sometime 97rem then your requirements sure fulfill.
Paste the following code in the end of base.css file.
@media screen and (min-width: 1400px) {
.banner__box {
max-width: 97rem !important;
}
}
Results:
Thank you for the reply.
Unfortunately, it is still the same after i paste the code. Is there any other possible solution?
Hello @nothingchanges
div#Banner-template--24573836820843__image_banner_nWqxB7 .banner__buttons {
gap: 72rem !important;
justify-content: center;
}
Hello
I attached a file with the response you can check it and take action in
YOU ARE AWESOME! THANK YOU SO MUCH!