Shopify themes, liquid, logos, and UX
Hi,
Is there a way to move the text overlay in Debut Theme Hero Banner to the right (instead of center aligned), at the same time without affecting the mobile text overlay?
Thank you in advance for your help 🙂
Solved! Go to the solution
This is an accepted solution.
@LaurenGlacia
Paste this code in the theme.scss file.
@media only screen and (min-width: 992px){
.page-width.text-center {
margin-right: 13% !important;
}
}
yes please share store url please
ii, @LaurenGlacia
Paste this code on top of the theme.scss file.
@media only screen and (min-width: 992px) {
.page-width.text-center {
float: right !important;
}
}
Thank you.
Hi @Zworthkey ,
Thank you for your speedy reply 🙂
It works! But can you give me a further help to how i can adjust the text overlay to slightly left? As in more margin to the right. Currently its too far aligned to the right.
Thank you in advance!
This is an accepted solution.
@LaurenGlacia
Paste this code in the theme.scss file.
@media only screen and (min-width: 992px){
.page-width.text-center {
margin-right: 13% !important;
}
}
Yes just add margin-right: 110px; in the given @Zworthkey answer, like below:
@media only screen and (min-width: 992px)
.page-width.text-center {
float: right !important;
margin-right: 110px;
}
If helpful then please Like and Accept Solution.
HI @Savior ,
Thank you for your reply. But it doesn't seem to work with the codes you provide. But i'm equally grateful for your willingness to help 🙂
Cheers!
Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025Expand into selling wholesale with Shopify Academy’s learning path, B2B on Shopify: Lau...
By Shopify Jan 28, 2025