WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Twenty Eleven Blank Space in Single Post (6 posts)

  1. Yro
    Member
    Posted 2 years ago #

    Im running the Twenty Eleven theme with my custom child theme.

    I want to reduce (or remove) the blank space between the post date and the post title in the single post pages.

    I have the theme running in my blog: http://www.intheup.net/blog

    The front page is fine and Im satisfied with it but when You click on some posts, the post open in a single page with its full content. This where the problem shows. I want to reduce the space between the date post and the post title ONLY in single post page, not the front page.

    Here I have an print showing what I want to do: http://i45.tinypic.com/waq8g2.jpg

    Can anybody help me?

    Sorry about my english.

  2. Ravinder Kumar
    Member
    Posted 2 years ago #

    hi,
    if want to reduce the space between the date post and the post title ONLY in single post page, not the front page.paste this code in style.css.
    .singular .entry-header .entry-meta { top:0 !important;}
    hope thisone work

  3. Yro
    Member
    Posted 2 years ago #

    .singular .entry-header .entry-meta {
    top: 0 !important;
    }

    Nothing happens :(

  4. Yro
    Member
    Posted 2 years ago #

    I also tried it:

    .singular .entry-header .entry-meta {
    padding: 0;
    margin-top: -30px;
    }

    Thats the code Im using for the front page and there it works but in single posts only the date goes up (more then needed in fact) and the nav menu and the post title continues with the same spaces.

  5. Ravinder Kumar
    Member
    Posted 2 years ago #

    .singular .entry-header .entry-meta { top:120px !important;}
    try this.gud luk

  6. Yro
    Member
    Posted 2 years ago #

    Thanks for Your reply but this not fix my problem, but I just figure it out.

    If somebody has the same problem, here are the codes to do the job in this theme.

    For the space betwen menu and posts in front page (also in single pages, but not that good):

    .singular .hentry {
    border-bottom: none;
    padding: 1px 0 0;
    position: relative;
    }
    .singular.page .hentry {
    padding: 1px 0 0;
    }

    And for the space between post date and post title (in single pages):
    .entry-title {
    padding-top: 1px;
    }

    Edit as You wish and for your own layout to be nice.

    I also need some help with another topic, about the author box. I want to have an "yellow author box" (something like and stick, just it, the text in the yellow retangle) in the front page only.

    sorry about my english.

Topic Closed

This topic has been closed to new replies.

About this Topic