Ahoi1
August 21, 2024, 12:42pm
1
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
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.
Hi @Ahoi1
Would you mind to share your store URL? Thanks!
Ahoi1
August 21, 2024, 12:56pm
4
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 tag:
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
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.
Ahoi1
August 21, 2024, 1:11pm
7
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
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!
span.product-unit-price {
font-size: 10px !important;
}
Can you try add more this code @Ahoi1
Ahoi1
August 21, 2024, 1:19pm
10
ok… something went terribly wrong…
Hi @Ahoi1 , Pls try agian with this code:
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