All things Shopify and commerce
Hi There,
I am trying to do some changes to the price in the product page, first i would like to align price to the right, moreover i want to increase the space between the price and the variant picker above.
Thanks in advance
Solved! Go to the solution
This is an accepted solution.
i check your base.css.
Why this code is in the base.css?
This code, must be in the theme.liquid before the </body> tag. or if you like to put on this file you must take out the <style></style> tag. Please, take out so the after code will work. Thanks!
Hi @Good_Mood
Check this one.
From your Shopify admin dashboard, click on "Online Store" and then "Themes".
Find the theme that you want to edit and click on "Actions" and then "Edit code".
In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
.price.price--large.price--show-badge {
text-align: right !important;
padding-top: 1rem !important;
}
And Save.
Result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Unfortunately it didn't work.
This is an accepted solution.
i check your base.css.
Why this code is in the base.css?
This code, must be in the theme.liquid before the </body> tag. or if you like to put on this file you must take out the <style></style> tag. Please, take out so the after code will work. Thanks!
It worked after i deleted the style tag.
Thanks
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025