Solved

how to change font size under product card (Dawn Theme)

ayushsah
Tourist
6 0 2
Accepted Solution (1)

PageFly-Oliver
Astronaut
878 190 171

This is an accepted solution.

Hi @ayushsah ,

 

You can try this code by following these steps:

Step 1: Go to Online Store->Theme->Edit code.

Step 2: Search file theme.liquid

Step 3: Paste the below code at the bottom of the file -> Save

 

<style>
#MainContent .collection .card__information h3{
font-size:20px
}
</style>

 

 

Hope my solution works perfectly for you!

Best regards,

Oliver | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.

View solution in original post

Replies 5 (5)

Moeed
Shopify Partner
3769 953 1185

Hey @ayushsah 

 

Welcome to Shopify Community! Can you share your Store URL so I can have a look on it? Also, if you have password enabled then please share the password as well. Your cooperation would be greatly appreciated.

 

Best Regards,
Moeed

Need a Shopify developer? Chat on WhatsApp


- For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
- Your Coffee Tip and my code, A perfect blend. ❤️

PageFly-Oliver
Astronaut
878 190 171

This is an accepted solution.

Hi @ayushsah ,

 

You can try this code by following these steps:

Step 1: Go to Online Store->Theme->Edit code.

Step 2: Search file theme.liquid

Step 3: Paste the below code at the bottom of the file -> Save

 

<style>
#MainContent .collection .card__information h3{
font-size:20px
}
</style>

 

 

Hope my solution works perfectly for you!

Best regards,

Oliver | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.

ayushsah
Tourist
6 0 2

Thank you so much !!

aditya58singh
Shopify Partner
24 2 5
  1. Go to your Shopify admin panel.
  2. Click on 'Online Store' and then on 'Themes'.
  3. Find your Dawn theme, click on 'Actions', and then select 'Edit code'.
  4. Open the base.css or theme.css file in the 'Assets' folder.
  5. Paste the code snippet at the end of this file.
  6. Click 'Save'.

 

/* Change font size for product card titles */
.card .card-information h3.card-information__text {
    font-size: 16px; /* Adjust the size as needed */
}

/* Change font size for product card prices */
.price__regular, .price__sale, .price__unit {
    font-size: 14px; /* Adjust the size as needed */
}

/* Change font size of the product text  */
#MainContent .collection .card__information h3 {
    font-size: 18px; /* Sets the font size to 18 pixels */
}

 

- Helpful? Like and Accept a solution.
- Cart Drawer Upsell & Free Gift Boost conversions & AOV with upsell-cross sell, free gifts & add-ons with customizable cart drawer.

Sales Countdown Timer Bar create urgency with count down timer, navigation menu with images and lot more.
CHMarket
Visitor
3 0 0

This worked great on desktop but didn't seem to change on mobile view.  Could you advise how to change there?