Too big a gap between post title and content

  • Author
    Posts
  • #922620

    Fixed one thing, broke another. :-/

    I was given this code to make the title of my posts be above the thumbnail and blog post:

    .entry-title {
    display:block;
    position:absolute;
    left:0;
    overflow:hidden;
    height:30px;
    width:550px;
    white-space:nowrap;
    }

    .entry-thumbnail,.entry-content {
    display:block;
    padding-top:43px;

    It worked, but now when you click on the title and go to the actual post, there is a gap of 43px between the two. Which isn’t a huge deal, but it’s kind of, I don’t know, sloppy looking or whatever. Like it’s not supposed to be that way, if you know what I mean?

    So I was wondering if there is an actual way to fix it, or if I’ve reached the limitations of what can be changed within this particular theme.

    You all have been so helpful up to this point, I really appreciate it!

    The blog I need help with is notchangingmyname.com.

    #922778

    Change the selectors to what I have below, which targets the “home” page only and should leave the single post pages alone.

    .home .entry-title

    .home .entry-thumbnail, .home .entry-content`

    #922779

    Oops, I forgot a code tag on the second one.

    .home .entry-thumbnail, .home .entry-content

    #922781

    Thanks so much! Not only did it work, but I was able also to apply the .home to the entry meta on the homepage and close up the gap there as well! :-)

    #922785

    You are welcome.

The topic ‘Too big a gap between post title and content’ is closed to new replies.