Jump to content

Titles are not consistent on different pages and sections

Go to solution Solved by Ziggy,

Recommended Posts

Hey everyone!

I see different sizes of titles on desktop and mobile and want to make sure they look consistent but that doesn't seem to be the case.

1. The title on the homepage hero has a different size vs other pages

2. Blog post titles were showing up weirdly so I tried to fix them on desktop and mobile for better readability with some CSS (added below)

Goal: To have consistent, good-looking font sizes for titles across the website on all devices. Don't mind any suggestions for paragraphs either.

/* Common styles for custom H2, H3, and H4 on all devices */
.blog-item-wrapper h2 {font-size: 30px !important;}

.blog-item-wrapper h3 {font-size: 25px !important;}

.blog-item-wrapper h4 {font-size: 20px !important;}

/* Mobile blog titles */
@media screen and (max-width: 767px) {
.blog-item-wrapper h2 {font-size: 25px !important;}

.blog-item-wrapper h3 {font-size: 20px !important;}

.blog-item-wrapper h4 {font-size: 15px !important;}
}

/* Tablet blog titles */
@media screen and (min-width: 768px) and (max-width: 1024px) {
.blog-item-wrapper h2 {font-size: 25px !important;}

.blog-item-wrapper h3 {font-size: 22px !important;}

.blog-item-wrapper h4 {font-size: 18px !important;}
}
/* Fix h2, h3, h4 padding on blog*/
.sqs-block-code,
.sqs-block-code * {
    margin: 2px !important;
    padding: 2px !important;
}

Thank you very much! Appreciate all the help here. Found tuanphan and Ziggy quite helpful already!

Link to comment
  • Solution

Can you share the website pages you are referring to?

Your site (if it's up-to-date) will probably be using rem instead of px for setting the font sizes.

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment

I can't say that I can see the disparity in font sizes on these pages, can you help me find the problem you're trying to solve?

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.