Hi guys, I was in my store and I realized that the desktop view is misalign with the description and title, i will attach a picture to show what I am talking about
Topic summary
A store owner noticed misalignment issues between product titles and descriptions in their desktop view.
Two solutions were provided:
-
JavaScript approach (Moeed): Add custom code to the theme.liquid file, placed above the closing tag
-
CSS approach (BSS-TekLabs): Modify base.css or theme.css by adding text-align properties to the product form selector
Resolution: The store owner confirmed the issue was successfully resolved after implementing one of the suggested fixes. Both solutions targeted centering the product form elements to correct the alignment problem.
Hey @tomas_marino1
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
- Here is the solution for you @tomas_marino1
- Please follow these steps:
- Then find the base.css or theme.css file.
- Then add the following code at the end of the file and press ‘Save’ to save it.
variant-radios, .product-form form {
text-align: -webkit-center !important;
}
- Here is the result you will achieve:
- Please press ‘Like’ and mark it as ‘Solution’ if you find it helpful. Thank you.
Thank you!
Thank you for your reply. I’m glad to hear that the solution worked well for you. If you require any more help, please don’t hesitate to reach out. If you find this information useful, a Like would be greatly appreciated.



