Happening now! Shopify Community AMA: PayPal Express Migration to Shopify Payments | Ask your questions to be answered by our team.

Change page title font size on Craft theme

Change page title font size on Craft theme

sfths
Excursionist
13 0 7

Hello, I am trying to reduce the font size of my page titles and also section titles on the homepage, see screenshots with text highlighted in yellow below. Please could someone help me with how to do this?

sfths_0-1726056206403.png

sfths_1-1726056238431.png

 

Replies 7 (7)

Rahul_dhiman
Shopify Partner
608 120 121

HEllo @sfths 
Please provide url and password of your website.

Was I helpful?

Buy me a coffee



Want to modify or custom changes or bug fix on store . Or Need help with your store? Or -Want Complete Storefront
Email me -rahul@prowebcoder.com - Skype: live:dhiman.639
Checkout Some Free Sections Here
Mobile:- +91 62390-46167

Tech_Coding
Shopify Partner
384 106 90

Hello @sfths 
would you like to share your store URL and password if any please.
so i can check and provide you possible solution for your question.

my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.
Shopify UI Developer
Your Coffee Tips adds a little sweetness to my day.

Moeed
Shopify Partner
5862 1590 1889

Hey @sfths 

 

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 </body> tag

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

 

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

 

Best Regards,
Moeed

- Get a quick Shopify quote – Click here!

- Need a Shopify Specialist? Chat on WhatsApp

- Custom Design | Advanced Coding | Store Modifications


sfths
Excursionist
13 0 7

Hello @Moeed - thanks for your help but this doesn't seem to have changed anything. Any tips?

Tech_Coding
Shopify Partner
384 106 90

@sfths Add this Code

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>
  .collection-hero__title {
      font-size: 14px !important;
   }
   h2.blog__title {
      font-size: 14px !important;
   }
</style>
my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.

my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.
Shopify UI Developer
Your Coffee Tips adds a little sweetness to my day.

BSS-TekLabs
Shopify Partner
2350 688 806

Hello @sfths 
Our team is ready to help you.
Please share your website address and access password (if necessary) so that we can check and assist 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

sfths
Excursionist
13 0 7

Hello all I have now sorted this using a different article, thanks all the same.