WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Post footer problem (6 posts)

  1. wreckom
    Member
    Posted 5 years ago #

    Hi all,

    I'm coming here as a last option to get a solution to my problem.

    I have this custom template that I've been working on for a while, and it's all there apart from a problem occurring in the post footer section : the footer looks good on the front page, but if I click to look at a specific post then the footer bar goes messy, i.e. end images disappearing and text and icons being shifted around. I guess it has to do with the css file, but I've tweaked it a million times unsuccessfully so far.

    The blog can be seen and tested there :

    http://www.wreckom.org/testblog/

    I would greatly appreciate any help with this, as I've really tried hard to get my head around it and couldn't find a solution on my own, and that's the only thing I could find so far that's stopping me from throwing that thing online for good. many thanks in advance.

  2. wreckom
    Member
    Posted 5 years ago #

    Forgot to join the css bit for the footer only, thought it might help :

    /* POST FOOTER */

    .postfooterend {
    width: 5px;
    height: 32px;
    background: #ffffff url(images/blockComment_left_end.jpg) left top no-repeat;
    float: left;
    text-align: center;
    }
    .postfooterend2 {
    width: 5px;
    height: 32px;
    background: #ffffff url(images/blockComment_right_end.jpg) right top no-repeat;
    float: right;
    text-align: center;
    }

    .postfooter {
    margin-top: 15px;
    margin-bottom: 30px;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 11px;
    background: url(images/blockComment_middle.jpg) top repeat;
    display: table;
    #position: relative;
    width: 490px;
    overflow: hidden;
    height: 32px;
    }

    .postfooter2 {
    background: url(images/block_end.jpg) right top no-repeat;
    }

    .postcomments {
    margin-top: 10px;
    margin-left: 6px;
    background: transparent url(images/button_comment.jpg) left center no-repeat;
    height: 11px;
    padding-left: 18px;
    color: #000000;
    float: left;
    }

    .posttags {
    margin-left: 20px;
    background: url(images/button_tags.jpg) left center no-repeat;
    height: 24px;
    padding-left: 18px;
    color: #000000;
    width: 290px;
    #position: absolute;
    #top: 50%;
    display: table-cell;
    vertical-align: middle;
    }
    .posttags2 {
    margin-left: 20px;
    height: 24px;
    padding-left: 18px;
    color: #000000;
    width: 290px;
    #position: absolute;
    #top: 50%;
    display: table-cell;
    vertical-align: middle;
    }
    .postfooter a{
    text-decoration: none;
    color: #000000;
    }
    .postfooter a:hover{
    text-decoration: underline;
    }

    .postnr {
    width: 50px;
    height: 32px;
    background: #ffffff url(images/blockComment_right.jpg) right top no-repeat;
    float: right;
    text-align: center;
    }
    .postnrtext {
    width: 20px;
    padding-left: 15px;
    padding-top: 0px;
    margin-left: 6px;
    margin-top: 8px;
    background: transparent url(images/button_order.jpg) left center no-repeat;
    height: 20px;
    color: #ffffff;
    }

    .post p {
    padding-bottom: 15px;
    }
    .posttext a {
    color: #000000;
    }
    .post ul, .post ol {
    padding-left: 25px;
    }

    h3.single_h3 {
    font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
    font-size: 17px;
    color: #000000;
    text-align: center;
    margin: 0;
    }

  3. chaoskaizer
    Member
    Posted 5 years ago #

    I'd checked your website, its not the CSS its the html structure. do some comparison (view source).

  4. wreckom
    Member
    Posted 5 years ago #

    Ok, thanks for the tip. So that would do with the index.php right ? Just need a global direction as where to look at.

  5. chaoskaizer
    Member
    Posted 5 years ago #

    there is a missing div inside .postfooter in your single page template (single.php).

  6. wreckom
    Member
    Posted 5 years ago #

    Wow, that's it now it works !! I'm even feeling embarrassed as it looks damn simple once I got my nose on it. Thanks a million chaoskaizer !!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.