Wordpress Footer.php help!

Discussion in 'HTML & Website Design' started by tonyfloyd, Apr 8, 2008.

  1. #1
    Hi all.....

    any idea what is causing footer to break-up like this??...driving me crazy....

    site is thedomainingblog * (dot)* com

    thanks
    tony
     
    tonyfloyd, Apr 8, 2008 IP
  2. rob2k8

    rob2k8 Peon

    Messages:
    433
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I don't understand what are you talking about. Can you explain it more?
     
    rob2k8, Apr 8, 2008 IP
  3. tonyfloyd

    tonyfloyd Well-Known Member

    Messages:
    1,230
    Likes Received:
    37
    Best Answers:
    0
    Trophy Points:
    140
    #3
    take a look at site....look at footer....bottom of site....how do i fix this??

    thanks
     
    tonyfloyd, Apr 8, 2008 IP
  4. YIAM

    YIAM Notable Member

    Messages:
    2,480
    Likes Received:
    240
    Best Answers:
    0
    Trophy Points:
    280
    #4
    
    #footer #footerbar {
    		width: 1006px;
    		height: 220px;
    		padding-top: 6px;
    	}
    
    HTML:
    In css file try removing this "height: 220px;".
     
    YIAM, Apr 8, 2008 IP
  5. deathshadow

    deathshadow Acclaimed Member

    Messages:
    9,732
    Likes Received:
    1,999
    Best Answers:
    253
    Trophy Points:
    515
    #5
    Starting out by cleaning up the NINETY validation errors might be a good start - though it looks like MOST of those are that you got your HTML in your XHTML - and those aren't two great tastes that taste great together.

    Of course being a turdpress template you are knee deep in comments that could break your layout in IE, nonsensical wasteful comments (<!-- Footer --><div id="footer"> - no shit, REALLY?), etc. etc.

    Though YIAM hit that one issue on the head. That fixed height declaration is making the background not stretch to fit all those LI. The problem is if you remove that height declaration, all the contents are FLOATS meaning that blue background is going to shrink to nothing.

    So in addition to removing that height, you need to add overflow:hidden; to those properties, which SHOULD (with no height declared) make them wrap the floats in standards compliant browsers... while that width declaration trips haslayout, wrapping floats in IE.

    Though given I think that background is a fixed image, you might have to either completely rewrite that, or nueter how many items are there... Which looking at the markup a complete rewrite probably isn't a bad idea. 25k of markup for 4k of content is a sure indicator of bloated, dated and unnecessary code.

    But then, we're talking about wordpress, and the number of well written templates I've seen for it I can count on two fingers.
     
    deathshadow, Apr 9, 2008 IP
  6. tonyfloyd

    tonyfloyd Well-Known Member

    Messages:
    1,230
    Likes Received:
    37
    Best Answers:
    0
    Trophy Points:
    140
    #6
    that doesnt do it...:(

    any help??
     
    tonyfloyd, Apr 9, 2008 IP
  7. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    436
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Tony, as much as I hate to say it, deathshadow is right. You need to re-code your WordPress Theme. I have one under development (it's one of the two well-coded Themes that deathshadow said he could count on one hand) - it's currently in beta testing, but if you want, I can give it to you (and only you). PM me if you're interested and I'll give you the link.
     
    Dan Schulz, Apr 9, 2008 IP
  8. tonyfloyd

    tonyfloyd Well-Known Member

    Messages:
    1,230
    Likes Received:
    37
    Best Answers:
    0
    Trophy Points:
    140
    #8
    Unfortunately.....you guys were all wrong...no re-coding of site was necessary....just de-coding of junk in coded footer file.....look at site now...all fixed.....:)

    Dan...would love to see this one of a kind all-mighty template that is one of only 2 in the entire world....lucky me...:)
     
    tonyfloyd, Apr 10, 2008 IP
  9. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    436
    Best Answers:
    0
    Trophy Points:
    0
    #9
    PM on its way.
     
    Dan Schulz, Apr 10, 2008 IP