Shopify themes, liquid, logos, and UX
Hello,
I use the Dubitify theme. I am obliged to state the basic price in addition to the price per item. Both prices are currently the same size with no space in between. I would like to change that. So the unit price should be much smaller than the item price.
Can anyone help me?
Thanks 🙂
Solved! Go to the solution
This is an accepted solution.
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.
.price-container-wrapper .text-money {
gap: 10px;
}
.product-single__unit {
font-size: 15px;
}
And Save.
Result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
This is an accepted solution.
Hi @Ahoi1, Pls try agian with this code:
<style>
span.product-unit-price font {
font-size: 26px;
}
span.money font {
font-size: 30px;
margin-right: 10px;
}
</style>
Here is result:
Hope this can help you,
If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍
If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here ☕.
B2B Solution & Custom Pricing | Product Labels by BSS
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
Hello @Ahoi1
Our team is ready to help you.
Please share your website address and access password (if necessary) so that we can check and assist you.
For give Gift to customers and Upsell in Cart, check out Salepify: Free Gifts with purchase
Post purchase upsell, downsell offers to improve sales and AOV
Salemate Post Purchase Upsell
- Here is the solution for you @Ahoi1
- Please follow these steps:
- Then find the base.css or theme.css or theme.scss.css file.
- Then add the following code at the end of the file and press 'Save' to save it.
.product-unit-price .money {
margin-left: 10px !important;
font-size: 16px !important;
}
- Here is the result you will achieve:
- Please press 'Like' and mark it as 'Solution' if you find it helpful. Thank you.
For give Gift to customers and Upsell in Cart, check out Salepify: Free Gifts with purchase
Post purchase upsell, downsell offers to improve sales and AOV
Salemate Post Purchase Upsell
Thanks. 🙂 It is still too big even if I change it to font size 5. Any possibility to put it under the Unit price much smaller?
Here it is also too big https://schlaf-ahoi.de/collections/schlaft-eltern-schlaft
span.product-unit-price {
font-size: 10px !important;
}
Can you try add more this code @Ahoi1
For give Gift to customers and Upsell in Cart, check out Salepify: Free Gifts with purchase
Post purchase upsell, downsell offers to improve sales and AOV
Salemate Post Purchase Upsell
Hi @Ahoi1
Would you mind to share your store URL? Thanks!
This is an accepted solution.
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.
.price-container-wrapper .text-money {
gap: 10px;
}
.product-single__unit {
font-size: 15px;
}
And Save.
Result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Hi @Ahoi1,
Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code
Step 2: Search file theme.liquid
Step 3: Insert this code above </head> tag:
<style>
span.product-unit-price font {
font-size: 26px !important;
}
span.money font {
font-size: 30px !important;
}
</style>
Here is result:
Hope this can help you,
If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍
If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here ☕.
B2B Solution & Custom Pricing | Product Labels by BSS
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
ok... something went terribly wrong...
This is an accepted solution.
Hi @Ahoi1, Pls try agian with this code:
<style>
span.product-unit-price font {
font-size: 26px;
}
span.money font {
font-size: 30px;
margin-right: 10px;
}
</style>
Here is result:
Hope this can help you,
If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍
If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here ☕.
B2B Solution & Custom Pricing | Product Labels by BSS
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024The Hydrogen Visual Editor is now available to merchants in Shopify Editions | Summer '...
By JasonH Sep 2, 2024Note: Customizing your CSS requires some familiarity with CSS and HTML. Before you cust...
By JasonH Aug 12, 2024