• 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

Handling div class="entry-content" bottom margin

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 › Handling div class="entry-content" bottom margin

This topic is: resolved

Tagged: div class="entry-content", Margin

  • This topic has 1 reply, 1 voice, and was last updated 9 years, 10 months ago by pamrburke.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • November 28, 2013 at 11:59 am #76061
    pamrburke
    Member

    I set up my Content Archive to be limited to 400 characters. I also set up my posts so that they have a border around them. All of that is fine. What I do not like, however, is that there is a 2.6rem bottom margin, which is too much space, especially for the Content Archive. I changed the css so to decrease the bottom margin, but that changed the spacing on all pages, for example, the spaces between paragraphs in my full blog posts and on my About page. I know this issue is happening because of the css for the <div class="entry-content" itemprop="text">, which the Minimum Pro theme I am using has set up as follows:

    
    .entry-content ol, .entry-content p, .entry-content ul, .quote-caption {
        margin-bottom: 2.6rem;
    }
    

    What can I do so that the bottom margin of is only changed after the 400th character of the Content Archive and not throughout the site, especially not for my blog posts and About page?

    FYI - I am working on my site in the staging area, therefore at the moment it can not be seen by others.

    November 28, 2013 at 1:32 pm #76073
    pamrburke
    Member

    I figured out what to do.

    I decreased the bottom margin for the border and slightly decreased the bottom margin for the <div class=”entry-content” itemprop=”text”> elements.

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Handling div class="entry-content" bottom margin’ is closed to new replies.

CTA

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

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 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