[Resolved] Feature request: Letter spacing in Typography

Home Forums Support [Resolved] Feature request: Letter spacing in Typography

Home Forums Support Feature request: Letter spacing in Typography

Viewing 15 posts - 1 through 15 (of 29 total)
  • Author
    Posts
  • #281525
    Harvey

    I’d love to have the ability to control letter spacing in each section of Typography in the Customizer.

    #281533
    Leo
    Staff
    Customer Support

    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!

    #281560
    Harvey

    Thanks — I can wait, as there are too many other things to do!

    #281619
    Leo
    Staff
    Customer Support

    You’re welcome. I’ll try to remind you here whenever the feature is added πŸ™‚

    #281667
    Tom
    Lead Developer
    Lead Developer

    How would you control the letter spacing? Using px? ems?

    #281908
    Harvey

    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.”

    #282247
    Tom
    Lead Developer
    Lead Developer

    Thanks! Really appreciate the feedback πŸ™‚

    #323060
    Hugo

    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.

    #323061
    Leo
    Staff
    Customer Support

    Should be something like this:

    h1.entry-title {
        letter-spacing: 2px;
    }
    h2.entry-title {
        letter-spacing: 2px;
    }

    Let me know.

    #323119
    Tom
    Lead Developer
    Lead Developer

    .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.

    #323217
    Hugo

    Excellent. Works ok Without thee ccs class .entry-title

    Thanks Tom

    #323222
    Tom
    Lead Developer
    Lead Developer

    No problem πŸ™‚

    #326322
    Bob

    What CSS would I use to add letter spacing to Primary Menu items? Thanks!

    #326354
    Leo
    Staff
    Customer Support

    Hi Bob,

    Try this:

    .main-navigation .main-nav ul li a {
        letter-spacing: 2px;
    }

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

    #326360
    Bob

    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.

Viewing 15 posts - 1 through 15 (of 29 total)
  • You must be logged in to reply to this topic.