1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

WordPress CSS - Move Date

Discussion in 'CSS' started by Pacific Publishing, Jul 16, 2008.

  1. #1
    I want to move the date from the left column so text spans the full page with no empty space below the date all the way down the page.

    http://obsessionfitness.com/

    I'm able to shift the text left and increase the post width by adjusting .postbody, but then the date is overlapping the header text.

    How do I move the date to under the header, where the category and comments listings are? Thanks.
     
    Pacific Publishing, Jul 16, 2008 IP
  2. yankzilla

    yankzilla Peon

    Messages:
    159
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You will have to move
    <div class="postdate">
    <span class="postday">14</span>
    <span class="postmo">Jul</span>
    </div>
    
    Code (markup):
    to after
    <span class="postmeta">
    Code (markup):
    and change the position attribute of the postdate div to relative, and remove the left and top attributes. That will keep the same style, but look awful. I suggest if you want to move it under the title, you just drop the div al together, and add the wp_date() code next to the comments part.
     
    yankzilla, Jul 16, 2008 IP
    Pacific Publishing likes this.