# Problem with text size

**URL:** <https://community.shopify.com/t/problem-with-text-size/336936>\
**Category:** Store Design\
**Tags:** design\
**Created:** [July 4, 2024, 11:40am UTC](https://community.shopify.com/t/problem-with-text-size/336936 "2024-07-04T11:40:07Z")\
**Posts on this page:** 4\
**Page:** 1

## AI-generated summary

A user seeks help reducing the title size on product pages and applying the change across all products.

**Two solutions were provided:**

1. **Moeed's approach:** Add custom CSS code to the `theme.liquid` file, placing it above the `</body>` tag to control styling globally.

2. **sahilsharma9515's approach:** Add specific CSS targeting the product title class (`h1.product__title.h2`) with adjustable font-size (suggested 35px) to the theme code.

**Resolution:** The original poster confirmed the solution worked perfectly, indicating the issue was successfully resolved.

<div class="post-metadata">

**Author:** ![vivvy1522](https://avatars.discourse-cdn.com/v4/letter/v/a8b319/32.png) [@vivvy1522](https://community.shopify.com/u/vivvy1522)\
**Post date:** [July 4, 2024, 11:40am UTC](https://community.shopify.com/t/problem-with-text-size/336936/1 "2024-07-04T11:40:07Z")

</div>

Hello! How do I Make the title on this page smaller? can I make it so it applies on all my products pages? thank you.

product page: [https://www.xmine23.com/collections/donna/products/giacca-teddy-coat-4431912-copia](https://www.xmine23.com/collections/donna/products/giacca-teddy-coat-4431912-copia)

my website : [www.xmine23.com](http://www.xmine23.com)

my theme local by Krown

---

<div class="post-metadata">

**Author:** ![Moeed](https://yyz1.discourse-cdn.com/shopifyforum/user_avatar/community.shopify.com/moeed/32/407464_2.png) [@Moeed](https://community.shopify.com/u/Moeed)\
**Post date:** [July 4, 2024, 11:43am UTC](https://community.shopify.com/t/problem-with-text-size/336936/2 "2024-07-04T11:43:21Z")

</div>

Hey @vivvy1522

**Follow these Steps:**

1. Go to Online Store

2. Edit Code

3. Find theme.liquid file

4. Add the following code in the bottom of the file above tag

```markup

```

**RESULT:**

 ![Moeed_0-1720093385172.png](https://canada1.discourse-cdn.com/shopifyforum/original/3X/e/c/ec2fe12b3c07a9198611e61d707fba6050c81a52.jpeg)

If I managed to help you then, don’t forget to **Like it** and **Mark it as Solution!**

Best Regards,  
Moeed

---

<div class="post-metadata">

**Author:** ![sahilsharma9515](https://yyz1.discourse-cdn.com/shopifyforum/user_avatar/community.shopify.com/sahilsharma9515/32/103040_2.png) [@sahilsharma9515](https://community.shopify.com/u/sahilsharma9515)\
**Post date:** [July 4, 2024, 11:59am UTC](https://community.shopify.com/t/problem-with-text-size/336936/3 "2024-07-04T11:59:38Z")

</div>

Hi @vivvy1522 Please add the code to solve the issue.

```css
h1.product__title.h2 {
    font-size: 35px !important; // change 35px according to your needs.
}

```

Please follow the steps:

1. Login in shopify admin.
2. Click on the Online Store.
3. Then click on the button next to Customize in live Theme.
4. Click Edit Code.
5. Search theme.liquid in the code in left hand side in your theme.
6. Add the following code in the bottom of the file above tag

Result:

 ![sahilsharma9515_0-1720094360150.png](https://canada1.discourse-cdn.com/shopifyforum/original/4X/2/e/4/2e494289949d9bf068d751c37773da3928501149.png)

Hopefully it will help you. If yes then Please don’t forget hit **Like** and **Mark it as solution!**

Best Regards

Sahil

---

<div class="post-metadata">

**Author:** ![vivvy1522](https://avatars.discourse-cdn.com/v4/letter/v/a8b319/32.png) [@vivvy1522](https://community.shopify.com/u/vivvy1522)\
**Post date:** [July 4, 2024, 1:59pm UTC](https://community.shopify.com/t/problem-with-text-size/336936/4 "2024-07-04T13:59:55Z")

</div>

Thank you it worked perfectly
