i want to show same font size of compare price.

Solved

i want to show same font size of compare price.

chandamamastore
Tourist
7 0 4

chandamamastore_0-1724317708302.png

How can  i show same compare price size. 

Accepted Solutions (4)

niraj_patel
Shopify Partner
2378 514 511

This is an accepted solution.

Hello @chandamamastore 

You can add code by following these steps

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file

3. Paste the below code before </body> on theme.liquid
<style>
  span.price-item.price-item--sale.price-item--last{
      font-size: 20px !important;
  }
</style>

niraj_patel_0-1724320054509.png

Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com

View solution in original post

Sweans
Shopify Partner
397 76 117

This is an accepted solution.

Hi @chandamamastore ,

 

Please follow the steps below to implement the solution:

 

1. 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.

Sweans_0-1724320425966.png

 

2. Locate the main CSS file in your theme (e.g., `main.css`, `theme.css`, `base.css`, or `style.css`) and add the following CSS code:

 

.card .price-item {
  font-size: 18px !important;
}

 

3. 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:-

Sweans_1-1724320449692.png

 

 

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

- Was my reply helpful? Please Like and Accept the Solution or let me know by Buying me coffee!
- Want to modify or custom changes on store Hire me.
- Feel free to contact me at info@sweans.com regarding any help.
- To know more about me check out www.sweans.com

View solution in original post

Huptech-Web
Shopify Partner
909 186 189

This is an accepted solution.

Hello! @chandamamastore Please follow these steps to add this CSS code:

1. Go to your Online Store
2. Click on "Themes"
3. Select "Edit code"
4. Open your CSS file. If you have a custom CSS file, open that instead.
5. If you can't find your custom CSS file, open "base.css"
6. 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

If you found this response helpful, please do like and accept the solution. Thanks!
Need support with Customizing your Shopify store?
Feel free to contact me at info@huptechweb.com or Visit our website Huptech Web.
Instant Shortcode Builder: Integrate customizable UI features anywhere in your store - No coding knowledge required

View solution in original post

BSS-TekLabs
Shopify Partner
2009 579 684

This is an accepted solution.

- Here is the solution for you @chandamamastore 
- Please follow these steps:

z5686811214059_e66de1953f1db631f9134af5cdb796ad.jpg

- 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:

BSSTekLabs_0-1724332085836.png

 

- Please press 'Like' and mark it as 'Solution' if you find it helpful. Thank you.

If our suggestions are useful, please let us know by giving it a like or marking it as a solution.


Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

View solution in original post

Replies 5 (5)

niraj_patel
Shopify Partner
2378 514 511

This is an accepted solution.

Hello @chandamamastore 

You can add code by following these steps

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file

3. Paste the below code before </body> on theme.liquid
<style>
  span.price-item.price-item--sale.price-item--last{
      font-size: 20px !important;
  }
</style>

niraj_patel_0-1724320054509.png

Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com
chandamamastore
Tourist
7 0 4

 Thanking You for This .

It working fine but why it look bold apart from other product Single Product Price.

Sweans
Shopify Partner
397 76 117

This is an accepted solution.

Hi @chandamamastore ,

 

Please follow the steps below to implement the solution:

 

1. 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.

Sweans_0-1724320425966.png

 

2. Locate the main CSS file in your theme (e.g., `main.css`, `theme.css`, `base.css`, or `style.css`) and add the following CSS code:

 

.card .price-item {
  font-size: 18px !important;
}

 

3. 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:-

Sweans_1-1724320449692.png

 

 

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

- Was my reply helpful? Please Like and Accept the Solution or let me know by Buying me coffee!
- Want to modify or custom changes on store Hire me.
- Feel free to contact me at info@sweans.com regarding any help.
- To know more about me check out www.sweans.com

Huptech-Web
Shopify Partner
909 186 189

This is an accepted solution.

Hello! @chandamamastore Please follow these steps to add this CSS code:

1. Go to your Online Store
2. Click on "Themes"
3. Select "Edit code"
4. Open your CSS file. If you have a custom CSS file, open that instead.
5. If you can't find your custom CSS file, open "base.css"
6. 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

If you found this response helpful, please do like and accept the solution. Thanks!
Need support with Customizing your Shopify store?
Feel free to contact me at info@huptechweb.com or Visit our website Huptech Web.
Instant Shortcode Builder: Integrate customizable UI features anywhere in your store - No coding knowledge required

BSS-TekLabs
Shopify Partner
2009 579 684

This is an accepted solution.

- Here is the solution for you @chandamamastore 
- Please follow these steps:

z5686811214059_e66de1953f1db631f9134af5cdb796ad.jpg

- 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:

BSSTekLabs_0-1724332085836.png

 

- Please press 'Like' and mark it as 'Solution' if you find it helpful. Thank you.

If our suggestions are useful, please let us know by giving it a like or marking it as a solution.


Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now