• 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

Gap above site content in Metro Pro

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 › Gap above site content in Metro Pro

This topic is: not resolved

Tagged: css

  • This topic has 2 replies, 2 voices, and was last updated 10 years, 6 months ago by MelonBird.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • November 23, 2014 at 12:55 pm #132589
    MelonBird
    Participant

    I'm stumped. There is a big whitespace between the leaderboard widget I put under the nav menu and the area where the content and sidebars begins. I've played with lots of margin and padding settings and made it a tiny bit shorter, but I've gone over it repeatedly with Firebug and just can't figure out which is the main bit of CSS that's causing it.

    My stylesheet is visible here: http://snappyliving.com/wp-content/themes/metro-pro/style.css?ver=2.0.0

    http://snappyliving.com
    November 23, 2014 at 6:27 pm #132610
    jengabbard
    Member

    You've got a id="text-21" under your leaderboard and above the site inner with a margin-bottom of 3.2rem.

    I'm guessing

    .text-21 {
    margin-bottom: (your new #)
    }

    would do the trick


    Puppy Leaks I love the Metro theme

    November 24, 2014 at 2:53 pm #132694
    MelonBird
    Participant

    Thank you! That wasn't quite it, but got me on the right track. There is no "text-21" in the stylesheet, so I looked again in Firebug and saw that it's actually ".widget" that had the 3.2rem. I have no idea why the simple "leaderboard" class I created also invokes several sub-classes and divs - I guess Genesis does that automatically for reasons I might understand if I really knew anything about making CSS and php work together, LOL.

    Anyhow, I changed that 3.2rem to 0 and nothing else seemed to move around from it. There is still a gap coming from somewhere, but it needs some whitespace there and I like how it looks. Thanks again.

  • 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