• Plans & Pricing
  • Log in
  • Get started
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Newsletter
  • Professional Email
  • Website Design Services
  • Commerce
  • WordPress Studio
  • Enterprise WordPress 
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • Google Apps
  • Support Center
  • WordPress News
  • Business Name Generator
  • Logo Maker
  • Discover New Posts
  • Popular Tags
  • Blog Search
Get started
  • Sign up
  • Log in
About
  • Plans & Pricing
Products
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Newsletter
  • Professional Email
  • Website Design Services
  • Commerce
  • WordPress Studio
  • Enterprise WordPress  
Features
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • Google Apps
Resources
  • Support Center
  • WordPress News
  • Business Name Generator
  • Logo Maker
  • Discover New Posts
  • Popular Tags
  • Blog Search
Jetpack App
  • Learn more
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
Search
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
Forums / Change position of post info

Change position of post info

  • Unknown's avatar
    calamityphysics · Member · Aug 2, 2011 at 11:16 am
    • Copy link Copy link
    • Add topic to favorites Add topic to favorites

    Hey!

    I’m trying to change the position of the post info (section that shows date, author, category, etc in a post). At the moment it’s just under the post title, but I want it to appear at the very bottom of the post instead….any ideas?

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar
    designsimply · Member · Aug 2, 2011 at 3:26 pm
    • Copy link Copy link

    Sure. In the Clean Home theme, try using this to re-position the post meta data:

    .post {
    position: relative;
    }
    
    .post-meta {
    position: absolute;
    bottom: 2em;
    margin-right: 55px;
    }

    The background images look awesome btw. :)

  • Unknown's avatar
    calamityphysics · Member · Aug 2, 2011 at 3:34 pm
    • Copy link Copy link

    Brilliant! I’ll give it a shot when I get home and let you know! And awh thanks, you’re really sweet! :)

  • Unknown's avatar
    calamityphysics · Member · Aug 2, 2011 at 4:56 pm
    • Copy link Copy link

    That worked perfectly! Thank you so much, hun!

  • Unknown's avatar
    pstrapp · Member · Aug 10, 2011 at 3:45 am
    • Copy link Copy link

    I tried something similar to the above, and found that it appeared in different positions on different browsers. Is there a way to position the metadata above the post title?

  • Unknown's avatar
    thesacredpath · Member · Aug 10, 2011 at 7:00 am
    • Copy link Copy link

    We can’t really help without a link to the site.

    Just my opinion, but putting the metadata above the post title will make it seem that that data goes with the previous post rather than the one below unless you were to add a bottom border line or separator between posts.

  • Unknown's avatar
    pstrapp · Member · Aug 13, 2011 at 4:34 am
    • Copy link Copy link

    Thanks for that tip. I like the idea of a line separator, and it seems from http://embraceyoursexuality.wordpress.com/2011/08/ there already is one there.

  • Unknown's avatar
    thesacredpath · Member · Aug 13, 2011 at 6:40 am
    • Copy link Copy link

    Give this a try and see what you think.

    .post {
    position: relative;
    }
    
    .post-meta {
    position: absolute;
    top: 0;
    }
    .post h1 {
    padding-top: 40px;
    }
  • Unknown's avatar
    pstrapp · Member · Aug 13, 2011 at 12:46 pm
    • Copy link Copy link

    That’s great! Thanks!

    Now, a bit of fine-tuning: Is there a way to increase the space between the metadata and the heading? I fiddled with adding padding and margin where it made sense, but my changes were ineffectual.

    Also, on the single-post display, there’s a lot of white space between “Like This” and the line below it. Is there an easy way to tighten that up? I’m guessing the large space displayed at the bottom of each post in the archive list has the same origin.

  • Unknown's avatar
    thesacredpath · Member · Aug 13, 2011 at 5:09 pm
    • Copy link Copy link

    Increase the padding-top in .post h1 to get more space between the meta and post title.

    On the space below the “like” you end up having to change things in two places. The div.sharedaddy was 2em and the .post hr was 35px. Start with these and see how it looks and adjust as you see fit.

    div.sharedaddy {
    margin-bottom: 1em !important;
    }
    
    .post hr {
    margin-top: 20px !important;
    }
  • Unknown's avatar
    pstrapp · Member · Aug 14, 2011 at 1:34 am
    • Copy link Copy link

    Thanks! You’re the best! :-)

  • Unknown's avatar
    pstrapp · Member · Aug 14, 2011 at 1:55 am
    • Copy link Copy link

    One more nice-to-do, if you’re willing… is there a way to suppress the empty region between the “Like This” and “Leave A Reply” sections?

  • Unknown's avatar
    thesacredpath · Member · Aug 14, 2011 at 2:52 am
    • Copy link Copy link

    Give this a try. It gets rid of the lower horizontal rule above “leave a reply.”

    #comments hr {
    display: none;
    }
  • Unknown's avatar
    pstrapp · Member · Aug 14, 2011 at 3:31 am
    • Copy link Copy link

    Nice! You’re spoiling me. :-)

    What would bring the “Leave a Reply” up a bit, so it’s tight under the line?

  • Unknown's avatar
    thesacredpath · Member · Aug 14, 2011 at 4:33 am
    • Copy link Copy link

    This is about as tight as it can get.

    #respond {
    padding-top: 0;
    }
    
    .post hr {
    margin-bottom: 0;
    }
  • Unknown's avatar
    pstrapp · Member · Aug 14, 2011 at 2:06 pm
    • Copy link Copy link

    Thanks so much. :-)

  • Unknown's avatar
    thesacredpath · Member · Aug 14, 2011 at 5:24 pm
    • Copy link Copy link

    You are welcome.

  • The topic ‘Change position of post info’ is closed to new replies.

Tags

  • Clean Home
  • metadata
  • position

About this topic

  • In: CSS Customization
  • 4 participants
  • 16 replies
  • Last activity 14 years
  • Latest reply from calamityphysics

Couldn't find what you needed?

Contact us

Contact us

Get answers from our AI assistant, with access to 24/7 expert human support on paid plans.

Browse our guides

Browse our guides

Find step-by-step solutions to common questions in our comprehensive guides.

WordPress.com

Products
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Professional Email
  • Website Design Services
  • WordPress Studio
  • Enterprise WordPress
Features
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • Google Apps
Resources
  • WordPress.com Blog
  • Business Name Generator
  • Logo Maker
  • WordPress.com Reader
  • Accessibility
  • Remove Subscriptions
Help
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
  • Developer Resources
Company
  • About
  • Press
  • Terms of Service
  • Privacy Policy
  • Do Not Sell or Share My Personal Information
  • Privacy Notice for California Users
DeutschEspañolFrançaisBahasa IndonesiaItalianoNederlandsPortuguês do BrasilSvenskaTürkçeРусскийالعربيةעִבְרִית日本語한국어简体中文繁體中文English

Mobile Apps

  • Download on the App Store
  • Get it on Google Play

Social Media

  • WordPress.com on Facebook
  • WordPress.com on X (Twitter)
  • WordPress.com on Instagram
  • WordPress.com on YouTube

Automattic

Automattic
Work With Us
    • WordPress.com Forums
    • Sign up
    • Log in
    • Copy shortlink
    • Report this content
    • Manage subscriptions