Need to center html code on top of page in blue.
Hi @TG_3
Would you mind to share your store URL? Thanks!
Hello @TG_3
Please Share your store link.
https://www.tire-guys.com/ thank you for looking into this
https://www.tire-guys.com/ thank you for looking into this this is link
Hey @TG_3
Follow these Steps:
-
Go to Online Store
-
Edit Code
-
Find theme.liquid file
-
Add the following code in the bottom of the file above tag
RESULT:
If I managed to help you then, don’t forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Thanks for the info, check this one.
- From you Admin page, go to Online Store > Themes
- Select the theme you want to edit
- Under the Asset folder, open the main.css(base.css, style.css or theme.css)
- Then place the code below at the very bottom of the file.
a.affirm-site-modal {
margin: auto;
max-width: 90%;
}
.section-sections--16741225037990__custom_liquid_3Hi9jj-padding {
display: flex;
}
@media only screen and (max-width: 749px){
a.affirm-site-modal {
text-align: center;
}
}
-
And Save.
-
Result:

I also change on the mobile screen.
Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!
Add this css on base.css or global.css
.shopify-section-group-header-group a.affirm-site-modal {
text-align: center;
width: 100%;
display: block;
}
Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!


