Archived topic
Feature request: Letter spacing in Typography
28 replies · Started by Harvey on February 20, 2017
I'd love to have the ability to control letter spacing in each section of Typography in the Customizer.
Hi Harvey,
Good suggestion :) That's already in the plan for sure.
Let us know know if you need some CSS to adjust them in the mean time!
Thanks -- I can wait, as there are too many other things to do!
You're welcome. I'll try to remind you here whenever the feature is added :)
How would you control the letter spacing? Using px? ems?
Personally, I like to use a slider to judge visually and then take the results in px to transfer elsewhere.
To answer your question directly, I recall the advice of an ergonomy expert, "When you're trying to decide between two user-side choices, the right answer is usually both."
Thanks! Really appreciate the feedback :)
Hi Tom. I need some ccs to change letter spacing in content heading h1, h2, and h3.
If you can provide it. Thanks a lot.. Love GP.
Should be something like this:
h1.entry-title {
letter-spacing: 2px;
}
h2.entry-title {
letter-spacing: 2px;
}
Let me know.
.entry-title will make it so it only targets the page/post title.
If you want ALL h1s etc.., just remove the class from the CSS.
Excellent. Works ok Without thee ccs class .entry-title
Thanks Tom
No problem :)
What CSS would I use to add letter spacing to Primary Menu items? Thanks!
Hi Bob,
Try this:
.main-navigation .main-nav ul li a {
letter-spacing: 2px;
}
Adding CSS: https://docs.generatepress.com/article/adding-css/
Thanks for quick reply Leo! Perfect! Did the job.
I had trouble using Chrome Inspector isolating what class I needed to edit. You saved me a lot of time. Thank you.