Site logo

Archived topic

Letter Spacing In Body Paragraph Text

7 replies · Started by Ian on July 24, 2019

Viewing posts 1–8 of 8

Hi there,

I am trying to add some additional css to change the letter spacing for all of my body text, however everything I try ends up applying a global letter spacing to all text on my page. I have had zero issues modifying line spacing of my h1, h2, and h3 classes.

What am I doing wrong? Is there some simple short code for paragraph letter spacing that you can provide me with?

Thanks in advance, I did read you are working on this feature in an upcoming release.

Hi there,

What if you try this?

.site-content p {
    letter-spacing: 2px;
}

Adding CSS: https://docs.generatepress.com/article/adding-css/

If this doesn't help, any chance you can link us to the site in question?

You can edit the original topic and use the private URL field.

Let me know :)

Hi Leo,

That didn't work. It said, "unknown property letter-space".

I updated the post to link to my site for you, however it's PW protected, the password is included at the end of the URL /password ...as I didn't know a better way to share it.

Thanks.

Thanks for that, I had tried that too since I figured that might have been an error. That didn't do anything either.

I don't have many plugins installed, really only two and one is for site password protection and I have a clean recent install.

Here's the only other CSS I have added within the additional customization section in WP

h3  {
    letter-spacing: 2px;
}

.button {
	border-radius: 30px;
	border: 2px solid #076cf0;
	letter-spacing: 2px;
	padding-right: 30px;
	padding-left: 30px;
	/*margin-left: 10px; */
}

/* footer margins */
p {
    margin-bottom: .1999em;
		line-height: 1.7;
}

Fantastic, worked like a charm. You guys rock, really loving this product and I just got started. Excellent support!

Thanks again!

Glad I could help :)

Reviews are always appreciated ;)

This archived topic is closed to new replies.