Jump to content
Sign in to follow this  
rattigan

CSS code for line spacing?

Recommended Posts

rattigan

I'm using the free PageLines Platform theme. I'd like to change the spacing between lines in blog posts. Is there a way I can do that by inserting code into the CSS? Thanks.

Share this post


Link to post
Share on other sites
rattigan

Thanks for that link. I've inserted it under the size code (which works fine), and it doesn't seem to be working, however. Any ideas?

Share this post


Link to post
Share on other sites
kastelic

How about a link to your site? You may be targeting the wrong element or not being specific enough in your rule.

Share this post


Link to post
Share on other sites
rattigan
Site. Thanks for your help! (BTW, if you have some way of seeing my CSS, you'll notice the numbers are random for the line-height. I was just experimenting. I tried it with both % and px.)

Share this post


Link to post
Share on other sites
kastelic

Here's the rule you want to target:

.fpost .post-excerpt, .fpost .entry_content {
	line-height: 1.5em
	}

Share this post


Link to post
Share on other sites
rattigan

Thanks, Jimmy. You're awesome.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

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

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×