Jump to content

Decreasing line spacing in blog post titles

Recommended Posts

Private Site
This site is currently private. If you’re the owner or contributor, log in.
 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
3 hours ago, Nell_H said:

Thank you, tuanphan.

The password is bodycomp

This is the URL: https://cube-swordfish-pexe.squarespace.com/config/

 

add to home > Design > Custom css

h1.blog-title a {
    line-height: 20px;
}
h1.blog-title {
    margin-bottom: 0 !important;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment

Thank you, tuanphan 😊

 

6 hours ago, tuanphan said:

add to home > Design > Custom css


h1.blog-title a {
    line-height: 20px;
}
h1.blog-title {
    margin-bottom: 0 !important;
}

 

 

Link to comment
2 minutes ago, Nell_H said:

Thank you, tuanphan 😊

 

 

There has Thanks button (hand icon on right)...😎

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
  • 6 months later...
  • 3 weeks later...
8 hours ago, markjjeffries said:

Hi everyone,

I'm looking for code for a similar thing; I need to reduce the line height of the blog post title within the actual post page (not the overview page). See screenshot attached.

The site is here and the password is RORpassword123!

Many thanks,

Mark

 

Add to Home > Design > Custom CSS

.light .blog-item-wrapper .blog-item-title h1.entry-title {
    line-height: 1.2em;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
  • 2 years later...
On 4/5/2023 at 9:20 PM, Jes_Shine said:

@tuanphan I tried your codes and changed it to h2 instead of h1 to see if that'd work and nothing. I also would please like to change (increase) the line height of the blog post title within the actual post page. Example: https://www.birthtofiveil.com/grant-recipients/arcola pw: jes  TIA!

I see it is fine here

image.thumb.png.1f9d5b7de30338edab0c63a5a9b765b0.png

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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.