All things Shopify and commerce
Hi everyone !
I wanted some help in some of these styling issues:
Appreciate any help in the above matter.
Solved! Go to the solution
This is an accepted solution.
Hi @kashco
Because the image and button are in two different blocks, it is difficult to edit the center. It can only be edited relatively.
You can add this code to the Custom CSS section https://prnt.sc/CYKt5fZbfB5l
.banner__buttons.banner__buttons--multiple > a:nth-child(1) {
margin-right: 18rem !important;
}
@media screen and (max-width: 768px){
body .banner__buttons.banner__buttons--multiple > a:nth-child(1) {
margin-right: 0 !important;
margin-bottom: 28rem !important;
}
.banner__buttons.banner__buttons--multiple {
margin-top: 7rem;
}
}
Hey @kashco
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the bottom of the file above </body> tag
<style>
.banner--stacked {
place-content: center !important;
}
.footer__content-bottom {
padding-top: 0 !important;
}
.main-page-title {
color: black !important;
text-align: -webkit-center !important;
}
.collection-hero__inner.page-width.scroll-trigger.animate--fade-in {
justify-content: center !important;
}
</style>
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
I did fix the banner on desktop but mobile is not yet right.
Desktop
@media only screen and (min-width: 749px){
.banner__buttons.banner__buttons--multiple {
justify-content: center;
gap: 90%;
flex-wrap: nowrap;
}
}
How to fix in mobile ?
Also, how can I place "New Arrivals" text a bit higher on desktop ?
Hey @kashco ,
For mobile, you can adjust your CSS using a media query for smaller screens. Try this:
@media only screen and (max-width: 748px) {
.banner__buttons.banner__buttons--multiple {
justify-content: center !important;
gap: 10px !important; /* Adjust as needed */
flex-wrap: wrap !important; /* Allows buttons to stay responsive */
}
}
Moving "New Arrivals" Text Higher on Desktop:
You can adjust the margin or positioning of the "New Arrivals" text. Try:
@media only screen and (min-width: 749px) {
.new-arrivals-title {
margin-top: -20px !important; /* Adjust the value to move it higher */
position: relative !important;
}
}
If it's inside a flexbox or grid, you may need to modify the alignment settings as well.
Let me know if this helps or if you need further tweaks!
If I was able to help you, please don't forget to Like and mark it as the Solution!
If you’re looking for expert help with customization or coding, I’d be delighted to support you. Please don’t hesitate to reach out in my signature below—I’m here to help bring your vision to life!
Best Regard,
Rajat
No luck yet with banner image buttons nor the banner image. Can you help me via DM ?
Yes Sure!
Solved banner
Hi @kashco
Thank you for reaching out to the Shopify community. I'd be glad to assist you. Could you kindly share your store URL and password (if it’s password-protected) so I can review it and provide you with an update?
This is an accepted solution.
Hi @kashco
Because the image and button are in two different blocks, it is difficult to edit the center. It can only be edited relatively.
You can add this code to the Custom CSS section https://prnt.sc/CYKt5fZbfB5l
.banner__buttons.banner__buttons--multiple > a:nth-child(1) {
margin-right: 18rem !important;
}
@media screen and (max-width: 768px){
body .banner__buttons.banner__buttons--multiple > a:nth-child(1) {
margin-right: 0 !important;
margin-bottom: 28rem !important;
}
.banner__buttons.banner__buttons--multiple {
margin-top: 7rem;
}
}
Didn't still work.
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025