WordPress.org

Ready to get started?Download WordPress

Forums

default theme - body/footer wierdness (7 posts)

  1. vampirefish
    Member
    Posted 6 years ago #

    hello... i'm a newbie to WordPress but have been having a great time! somehow i foobarred my footer or index.php. looks like there some wierd padding? if someone could tell me where to look to find the issue, I'd really appreciate it. my site: http://www.sunnyside88.com. you'll see what i mean when you scroll to the bottom of the page. thx! -kary

  2. viceng
    Member
    Posted 6 years ago #

    looks fine to me...mac firefox 2

  3. chaoskaizer
    Member
    Posted 6 years ago #

    It seem like the bottom shading is off..

    add the following CSS inside your theme's style.css ( Design > Theme Editor > style.css ).

    find (on line: 311)

    #footer {
    	padding: 0;
    	margin: 0 auto;
    	width: 760px;
    	clear: both;
    	}

    replace with;

    #footer {
    	padding: 0pt;
    	margin: 0pt auto;
    	width: 760px;
            height: 62px;
    	clear: both;
    	}
  4. vampirefish
    Member
    Posted 6 years ago #

    chaoskaizer - thx so much! that took care off the bottom shading... but now i still have the issue of that awful space between the body and header. Also, viceng... interesting, it looks fine on firefox for me as well (not mac but pc)... anyone know of a work-around for this?

  5. chaoskaizer
    Member
    Posted 6 years ago #

    I don't quite follow you, but if u need to remove the body margin you can try the following:

    find (line 235)

    #page {
    	background-color: white;
    	margin: 20px auto;
    	padding: 0;
    	width: 760px;
    	border: 1px solid #959596;
    	}

    replace with

    #page {
    	background-color: white;
    	margin: 0pt auto;
    	padding: 0pt;
    	width: 760px;
    	border: 1px solid #959596;
    	}

    p/s: IMO its looks nice with some spacing on top and bottom.

  6. vampirefish
    Member
    Posted 6 years ago #

    chaoskaizer - thx this did work. for some reason in IE (for me) it was showing a space (without the image) inbetween the body/page and footer. i thought i had tweaked this same padding but apparently hadn't... so was wondering how to fix it. thx again everyone!

  7. chaoskaizer
    Member
    Posted 6 years ago #

    any specific MSIE version?

    for MSIE6 I usually add the following code to any faulty block-elements.

    * html #selector-name{height:1%}

    just change the #selector-name to any elements like #page, #footer et cetera ...

    should read
    http://www.satzansatz.de/cssd/onhavinglayout.html

Topic Closed

This topic has been closed to new replies.

About this Topic