Forums

footer on index.php in wp1.5 not showing (10 posts)

  1. tjinh200
    Member
    Posted 6 years ago #

    i've had this problem with another page, and in that case it was just a missing </div> tag ... not sure what it could be this time though ...

    http://www.tjinh200.com/tjinh200

  2. tjinh200
    Member
    Posted 6 years ago #

    correction, it apparently is there, but with white text/links/background ... i didn't change css so where would this come from?

    it occures on all pages except "about.php" as about is a different template ...

  3. oriecat
    Member
    Posted 6 years ago #

    nevermind

  4. tjinh200
    Member
    Posted 6 years ago #

    that's because the footer had a black background (as shown in my "About" page) ... so the white text worked. however, now if i select all within the page (index.php or any other with the exception of "about") i can see the footer underneath the "Comments" text ... this indicates it's an error with my index.php i would assume?

  5. oriecat
    Member
    Posted 6 years ago #

    I think you have a </div> problem again. If you view the source for your main page, you have a </div> after </html> so it must be in the wrong place.

  6. tjinh200
    Member
    Posted 6 years ago #

    viewing the source for index.php in FF i see:


    </div>
    </div>

    </div>

    </body>
    </html>

    i don't see a div after html...

    (also, if i add an additional div in my index.php just before <?php get_footer(); ?> i can view my footer, but it's much too low on the page ...)

  7. oriecat
    Member
    Posted 6 years ago #

    Weird, I know I saw it! Maybe I'm going insane.

  8. tjinh200
    Member
    Posted 6 years ago #

    i know the feeling :P

  9. georgianlady
    Member
    Posted 6 years ago #

    You have your "footer" in a div called id="footer" and that has #fff class colors for all links and text, except for a "red" #ff3333 for hover. Your footer is picking up those codes and ignoring the class="footerLink" you are trying to assign your footer links.

    Look at how they are written up. Write the "footerLink in the same fashion as the "footer" class. Know that your .footerLink will inherit from #footer, so you'll have to change things in both id and class until you get what you want.

    In all, if it works how you like in ABOUT, then you need to make the same thing happen on your index.php, or make a separate footer to call up in ABOUT as an include, for instance, or hardcoded on that "about template" ...

    Your footer ID is conflicting with your footerLink class in other words, you can see that since all the text is white except for hovers being red on your index page. I looked at your CSS file, so this is how I'd handle it: change the ID of the footer to something else and write your link classes to that, take your footerLink classes out of the footer file.

    Make a different footer for ABOUT and include it from a separate file, or hardcode it directly into the ABOUT template. Make a separate footer ID in your CSS for it.

    Or make the footers the same somehow. However it is you desire, but in any case, your footerLink classes aren't doing a thing on either page as they are. :)

  10. tjinh200
    Member
    Posted 6 years ago #

    i had a javascript in my sidebar that evidently was causing the problem, though i'm not sure why that would be the case, in addition in attempting to validate my "index.php" and "about.php" i'm getting just 1 error in Line 214, column 5: end tag for element "div" which is not open, though without the </div> the footer doesn't display correctly ... and thoughts? ...

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.