Jump to content


Photo
- - - - -

Change Line Spacing After Post Title

Post Title CSS Spacing

  • Please log in to reply
3 replies to this topic

#1 hcllcusa1

hcllcusa1

    Newbie

  • Members

  • 3 posts
  • LocationCincinnati, OH
  • Framework Version:Plus
  • Country: Country Flag

Posted 11 February 2013 - 03:49 PM

I am trying to change the spacing after post titles on my test site: 

Please Login or Register to see this Hidden Content

 

I am using #site .entry-title {font-size: 18pt; } to change the font size of the post title but a related expression #site .entry-title {margin: .2em 0;} does not seem to change the line spacing. Can you help me with the proper code?

 

Also, any help with code to remove text like "Posted in 

Please Login or Register to see this Hidden Content

    | 

Please Login or Register to see this Hidden Content

 |" after posts?

 

Thanks, Andrew



#2 catrina

catrina

    Advocate

  • Members
  • 12345 posts
  • LocationCalifornia
  • Country: Country Flag

Posted 11 February 2013 - 04:48 PM

The line spacing should be adjusted with the line-height property, but if you're trying to add more space after the post title, you should use 0 0 .2em 0 instead of .2em 0.

 

To remove that metabar please add this to PageLines > Site Options > Custom Code > Custom CSS:

 

Please Login or Register to see this Hidden Content



#3 hcllcusa1

hcllcusa1

    Newbie

  • Members

  • 3 posts
  • LocationCincinnati, OH
  • Framework Version:Plus
  • Country: Country Flag

Posted 11 February 2013 - 06:34 PM

Sorry -- that does not seem to be working. I am actually trying to reduce the spacing between the post title and the text. Also 

 

 

 

Please Login or Register to see this Hidden Content

“I enjoyed my position enough that I was willing to extend my stay a bit longer to help the staff through the Thanksgiving holiday. Unfortunately, Alaska was just too far from Texas and I did not want to stay on permanently as invited … I guarantee that I would have worked for them permanently if [...]

Posted in 

Please Login or Register to see this Hidden Content

    
| 

Please Login or Register to see this Hidden Content

 | 

Please Login or Register to see this Hidden Content

I put strikes through the text I don't want to display above and you can see how much space is between the Headline "Alaska PT" and the body text. Is this spaceing really a function of the post body copy and not the headline?



#4 catrina

catrina

    Advocate

  • Members
  • 12345 posts
  • LocationCalifornia
  • Country: Country Flag

Posted 11 February 2013 - 07:17 PM

It might be both. Have you tried adding an increased top margin to the body copy?







Also tagged with one or more of these keywords: Post Title, CSS, Spacing