• 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

Strange spacing challenge

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 › Strange spacing challenge

This topic is: resolved

Tagged: blog template, image, single post

  • This topic has 4 replies, 2 voices, and was last updated 13 years, 7 months ago by jtdatawork.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • January 5, 2013 at 7:24 pm #9827
    jtdatawork
    Member

    I placed a custom banner at the top of my blog pages, specifically by putting a background img at the top of the single post CSS and also placed the same image on the blog page template. the problem is that I had to put a big margin on the single post so the text started after the pic. On the blog page this translates to a big white space before the first post title. I tried using css and a negative margin on the blog-page to pull that baby back up, but to no avail. Can anyone come up with a fix, or a better solution for the secondary banner on these pages?

    In fact I'm having trouble styling that area at all!

    Thanks for any help... Judy

     

     

     


    JT Dataworks Web design and SEO

    January 5, 2013 at 7:50 pm #9831
    Chris Cree
    Participant

    Judy, it would really help the rest of us offer suggestions if you would post a link to the site you're having trouble with each time you ask a question.

    January 5, 2013 at 7:58 pm #9836
    jtdatawork
    Member

    Sorry, I had one in my clipboard but forgot to paste...

    http://www2.denisemazzola.com/blogging-about-dogs/

     

    Thanks


    JT Dataworks Web design and SEO

    January 5, 2013 at 8:14 pm #9839
    Chris Cree
    Participant

    It looks like you've pulled a separate page's content into the top of your blog page template. It's a side issue. But one that is complicating what you are doing.

    In your stylesheet you have this at line 840:

    .post h1, 
    .post h2, 
    .post h3 {
    	margin: 285px 0 0 35px;
    }

    That's putting a huge top margin on all of your headings. It means that if you use a heading inside a post it will have a huge top margine as well.

    You can change that to something like this instead so that it selects only the entry titles on your single posts and not the rest of your heading tags:

    .single-post .entry-title {
    	margin: 285px 0 0 35px;
    }
    January 5, 2013 at 8:21 pm #9841
    jtdatawork
    Member

    OMG! How did I miss that?  🙂

    That fixed it. My weekend just got a lot better. Thanks so much!


    JT Dataworks Web design and SEO

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Strange spacing challenge’ 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

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