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
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024