Date next to the title

Home Forums Automattic Little Story Date next to the title

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #163712 Resolve

    Jenny

    Hi!
    I was wondering would it be possible to have a date next to the title or above it?
    Also I would love to have comment count to the title section.

    The blog I need help with is hikikinkku.com
    #163713

    Kathryn P.
    Happiness Engineer

    Something like this would move the entire footer meta information — including comment link and date — below each post title:

    .entry-title {
      margin-bottom: 50px;
    }
    
    .hentry {
      position: relative;
    }
    
    .entry-meta {
      position: absolute;
      top: 90px;
    }

    Let me know how it goes.

    #163714

    Jenny

    Hi!
    It worked and it looked good at firt, but when I opened individual post footer is overlapping the beginning of the post.

    #163717

    Kathryn P.
    Happiness Engineer

    Could you try removing what I gave you earlier and add this instead?

    .entry-title {
      margin-bottom: 50px;
    }
    
    .hentry {
      position: relative;
    }
    
    footer.entry-meta {
      position: absolute;
      top: 90px;
    }
    
    .single .entry-title {
      margin-bottom: 50px;
    }

    Let me know how that goes.

    • This reply was modified 4 years, 6 months ago by  Kathryn P..
    #163720

    Jenny

    Hi! That works, thank you! Too bad it’s not possible to just add comment count and date up there, with all the tags it looks a bit messy so I’m sticking with original. But good to know that code works!

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.