Forums

Footer Style Suddenly not applying (7 posts)

  1. hazelbug
    Member
    Posted 1 year ago #

    This is my site: http://www.bearhugsforbabies.org

    The footer is running against the edge of the border now. It doesn't look like the footer styles are taking now... but the templates and style sheet looks okay to me.

    Anyone know why?

  2. neteater
    Member
    Posted 1 year ago #

    have u done any editing in footer.php

  3. hazelbug
    Member
    Posted 1 year ago #

    The only editing I've done is in the style sheet and the sidebar to add the basket with the counter on how many babies have been helped. I've done nothing in the footer at all.

    I also noticed that my sidebar pages is also not taking the style all of a sudden.

    I removed the addition of the basket in the widgets and the styles of them and the styles still don't take. So I am guessing that the new item isn't doing it, so I put them back.

    This is the code I added to the style sheet

    #sidebar .count {
    	width: 200px;
    	float: left;
    	font-size: 13px;
    	color: #555;
    font-weight: bold;
    font-size: 15px;
    	margin-bottom: 15px;
            line-height: 20px;
    background: url(images/basket.png) no-repeat center;
    height: 170px;
    }
    
    #sidebar .countcopy {
    margin-top:107px;
    text-align:center;
    }

    And this is the widget code
    <div class="count"><div class="countcopy"><span style="font-size: 2em;">1,765</span><br />Infants Helped</div></div>

    I don't either of those should have anything to do with the footer code... ?

  4. ilana.mullin
    Member
    Posted 1 year ago #

    you might have accidentally add a </div> to your sidebar, that generally screws the whole thing up. were you editing it though widgets or the actual sidebar.php?. when viewing source it looks like footer is not included in your wrapper, so delete a </div> from the appropriate place (e.g. end of sidebar.php or at the beginning of footer.php.

  5. hazelbug
    Member
    Posted 1 year ago #

    Thank you for your response Ilana...

    I had edited it through the widget, not the actual sidebar.php file. But when i remove the code from the widget, nothing goes back, so I am not sure.

    I went through my template files and I don't see any extra </div> tags. But I do notice in firebug that when I mouse over my <div="footer"> that the entire screen highlights indicating that something is not closed...

    but I can't seem to locate what is going on. It's so strange because I didn't touch the template files except for the style.css.

  6. ilana.mullin
    Member
    Posted 1 year ago #

    is your footer supposed to be within the wrapper? because in firebug it is not, which would explain why your footer styles are not taking effect.

    have you tried making all your widgets inactive and checking to see if that fixes it?

    also, do you have a clear set for after your sidebar? that float could mess things up if not cleared properly. just for testing purposes, i would try moving the </div> that closes wrapper to after the footer closes.

    good luck

  7. hazelbug
    Member
    Posted 1 year ago #

    Thanks Ilana. I tried those both moving the </div> around and deactivating the widgets adn that does not resolve it.

    I don't know how to write a clear set for after the sidebar? What is the code for that? clear: both; ?

    Thanks again!
    Kathy

Topic Closed

This topic has been closed to new replies.

About this Topic