Solved

Making my page title and product title font smaller

jasonthegrammy
Explorer
62 1 12

Hi team, hope you have a great day. 

 

Can someone help me with below enquiries?

1. Make my page title smaller.

2. Product name smaller

 

Appreciate the help!

 

Question 1

jasonthegrammy_0-1698150977057.png

 

Question 2

jasonthegrammy_1-1698151009518.png

 

Website below

Your Weekend Outfit – sundaysfit

Accepted Solution (1)
Moeed
Shopify Partner
3878 981 1225

This is an accepted solution.

Hey @jasonthegrammy 

 

Keep the previous code and add this new code above </style> in the previous code you added.

.title--primary {
    font-size: 25px !important;
}
.collection-hero__title {
    font-size: 25px !important;
}

RESULT:

Moeed_0-1698154563745.png

 

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

 

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. ❤️

View solution in original post

Replies 4 (4)

Moeed
Shopify Partner
3878 981 1225

Hey @jasonthegrammy 

 

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>
.main-page-title {
    font-size: 25px !important;
}
.product__title>* {
    font-size: 25px !important;
}
</style>

RESULT:

Moeed_0-1698151367636.png

Moeed_1-1698151378283.png

 

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

 

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. ❤️
jasonthegrammy
Explorer
62 1 12

Dear Moeed, thank you for the help! it does help ! but any ideas if I could do the same for products pages, blog page title too? 

 

for example below : 

All – sundaysfit

Sunday's Blog – sundaysfit

 

Photos 1

jasonthegrammy_0-1698154297837.png

 

Photo 2

jasonthegrammy_1-1698154317051.png

 

Moeed
Shopify Partner
3878 981 1225

This is an accepted solution.

Hey @jasonthegrammy 

 

Keep the previous code and add this new code above </style> in the previous code you added.

.title--primary {
    font-size: 25px !important;
}
.collection-hero__title {
    font-size: 25px !important;
}

RESULT:

Moeed_0-1698154563745.png

 

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

 

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. ❤️

webwondersco
Shopify Partner
1104 164 161

@jasonthegrammy ,add the below line of CSS code at the end of your base.css file.

 

.product__title h1{
font-size:3rem;
}
h1.main-page-title{
font-size:3.5rem;
}

 

you can update the value of rem as per your taste.

Web Wonders | Shopify Partner | Connect here!
- Question answered? Mark as Accepted Solution, reply helpful? Click Like
- Hire me, if you want to design, re-design, develop a store, or make changes to the pre-built store.
- a small Coffee Tip would be greatly appreciated. :)..! Instagram