Shopify themes, liquid, logos, and UX
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
Hi!
I need help aligning the buttons based on my picture.
https://nothingchanges.com.my/
Thanks in advance!
Solved! Go to the solution
This is an accepted solution.
Hello @nothingchanges
1. From your Shopify Admin, navigate to Online Store > Themes > Edit Code
2. In the Assets folder, open base.css and add your CSS code at the end
div#Banner-template--24573836820843__image_banner_nWqxB7 .banner__buttons {
gap: 72rem !important;
justify-content: center;
}
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?
This is an accepted solution.
Hello @nothingchanges
1. From your Shopify Admin, navigate to Online Store > Themes > Edit Code
2. In the Assets folder, open base.css and add your CSS code at the end
div#Banner-template--24573836820843__image_banner_nWqxB7 .banner__buttons {
gap: 72rem !important;
justify-content: center;
}
YOU ARE AWESOME! THANK YOU SO MUCH!