How can i show same compare price size.
Hello @chandamamastore
You can add code by following these steps
-
Go to Online Store → Theme → Edit code.
-
Open your theme.liquid file
-
Paste the below code before on theme.liquid
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.
Hi @chandamamastore ,
Please follow the steps below to implement the solution:
- In your Shopify admin, go to Online Store under Sales Channels. Click the three dots next to the theme you want to edit, and select Edit Code.
- Locate the main CSS file in your theme (e.g.,
main.css,theme.css,base.css, orstyle.css) and add the following CSS code:
.card .price-item {
font-size: 18px !important;
}
- If you want to change the price font size specifically for mobile devices, add the following code within the media query
@media screen and (max-width: 749px):
.card .price-item {
font-size: 14px !important;
}
Make sure to adjust the font-size values to suit your needs.
Result:-
I hope this helps! If it does, please like it and mark it as a solution!
If you need further assistance, feel free to reach out!
Regards,
Sweans
Hello! @chandamamastore Please follow these steps to add this CSS code:
- Go to your Online Store
- Click on “Themes”
- Select “Edit code”
- Open your CSS file. If you have a custom CSS file, open that instead.
- If you can’t find your custom CSS file, open “base.css”
- Add the following code at the end of the file.
body .price-item.price-item--sale.price-item--last{
font-size: 20px !important;
}
If you need further assistance, please let me know. If you found my help useful, consider liking this message and marking it as the solution.
Best regards
K.K
Thanking You for This .
It working fine but why it look bold apart from other product Single Product Price.
- Here is the solution for you @chandamamastore
- 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.
.price-item.price-item--sale.price-item--last{
font-size: 20px !important;
}
- Here is the result you will achieve:
- Please press ‘Like’ and mark it as ‘Solution’ if you find it helpful. Thank you.





