Shopify themes, liquid, logos, and UX
How can I center this text FOR MOBILE only?? I am unable to do it through editor
Try this one.
@media only screen and (max-width: 749px){
.hero-banner .hero__content {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
}
Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better!
That worked, thank you so much - but can I lower it a tiny bit more with that code?
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