Re: Change Product Page Title font size in Dawn Version 15.0.0

Solved

Change Product Page Title font size in Dawn Version 15.0.0

alessa86
New Member
4 0 0

Is it possible to change the title font size in the Title of Product Page on Dawn´s theme? I´ve tried a couple of things but neither seem to work.

 

Added this code at the end of base.css

.product_title h1 {
font-size: 30x
}

 

Added this code at the end of assets/section-main-product.css

}
h1.product__title {
font-size: 20px;
}

 

Can´t seem to make any chage.

 

It would also be nice to know if I can change font sizes in different parts of the web, such as product description.

Accepted Solution (1)

Laurie_ONeill
Shopify Partner
89 2 66

This is an accepted solution.

I just spent all day yesterday figuring this out! Finally got this to work. On main-product.liquid, put this right before the  {%- endstyle -%} part.

 

.product__title > * {
margin: 0;
font-size: 2.2rem;!important
}

 

You can adjust the 2.2 to whatever size you want it to be after you see it. I found that to be a much better size than the giant one it comes with!

View solution in original post

Replies 8 (8)

Dan-From-Ryviu
Shopify Partner
9570 1924 1961

Hi @alessa86 

You can try to add this code to your base.css file 

@media (min-width: 990px) {
.product_title h1 {
font-size: 30px !important;
}
}

- Helpful? Like and Accept solution! or Buy me coffee
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Ryviu: Aliexpress Reviews - AliExpress Reviews Importer, one-click import aliexpress reviews, export reviews to CSV file.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.

alessa86
New Member
4 0 0

Did not work for me, thank you for your response!

BSSCommerce-HDL
Shopify Partner
2304 847 1062

Hi @alessa86

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>
.product_title h1 {
   font-size: 30px !important;
}

h1.product__title {
  font-size: 20px !important;
}
</style>

 

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 😍

 

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

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

alessa86
New Member
4 0 0

This didn´t work for me, thank you for your support!

Laurie_ONeill
Shopify Partner
89 2 66

This is an accepted solution.

I just spent all day yesterday figuring this out! Finally got this to work. On main-product.liquid, put this right before the  {%- endstyle -%} part.

 

.product__title > * {
margin: 0;
font-size: 2.2rem;!important
}

 

You can adjust the 2.2 to whatever size you want it to be after you see it. I found that to be a much better size than the giant one it comes with!

alessa86
New Member
4 0 0

thank you this was really helpful! 

 

Do you know how to change the font of the description?

niraj_patel
Shopify Partner
2378 514 512

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>
   .product__title h1 {
      font-size: 30px !important;
   }

  

   .product__description.rte.quick-add-hidden {
        font-size: 16px !important;
    }
</style>
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- [email protected]

BSS-TekLabs
Shopify Partner
2350 702 827

- Here is the solution for you @alessa86 

- Find the base.css file.
- Then add the following code at the end of the file and press 'Save' to save it.

.product_title h1 {
font-size: 30x !important;
}
h1.product__title {
font-size: 20px !important;
}

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


Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page


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