• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Line-height on new class?

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Line-height on new class?

This topic is: resolved

Tagged: line-height on new class

  • This topic has 2 replies, 2 voices, and was last updated 10 years, 4 months ago by pacecom.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • July 16, 2015 at 11:00 pm #159630
    pacecom
    Member

    Hi,

    I created a custom class in CSS to format an affiliate links disclaimer that I intend to insert after each post. This is the code:

    .disclaimer {
    font-size: 10px;
    color: #999;
    margin-bottom: 24px;
    margin-top: 24px;
    line-height: 0.5;
    }

    It works well except that the line-height will not adjust. I’m sure the style sheet is overriding my desired line-height.

    Does someone know how I can get the desired line-height that I am specifying in this class?

    Thanks,
    Peter

    http://www.yogaprofits.com/threaded-comments/
    July 18, 2015 at 12:56 pm #159742
    Christoph
    Member

    Hi Peter,

    change the <span> to a <div> and it will work (you'll actually have to increase the line-height).


    https://www.christophherr.com | Genesis Customizations | Buy me a coffee

    July 18, 2015 at 1:38 pm #159751
    pacecom
    Member

    Thanks again for your help Christoph. Problem solved!

    Much Obliged,
    Peter

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble