WordPress.org

Forums

[resolved] Separate Footer and Wrapper (6 posts)

  1. ricketts8
    Member
    Posted 4 years ago #

    Using twenty-ten

    I'm experimenting with this now, have yet to find anything via Google or the forums though so if someone has answer...

    I want a small space between the footer and wrapper so that that the background shows in between the two elements. Say 5-20px.

    I have a child theme so please don't tell me to install a child theme.

  2. Chip Bennett
    Theme Review Admin
    Posted 4 years ago #

    Have you tried to apply a margin-top to the footer DIV?

  3. alchymyth
    Forum Moderator
    Posted 4 years ago #

    simply move the closing div
    </div><!-- #wrapper -->
    from the position at the end of #footer to a position before the div #footer begins;

    in footer.php, move it to after this line:
    </div><!-- #main -->

    luckily, the closing divs are nicely commented in twenty ten.

    you might need to add extra styles to center the detached #footer div and replace the padding of #wrapper.
    and add a top margin as @Chip Bennett rightly suggested.

  4. ricketts8
    Member
    Posted 4 years ago #

    Thanks. Working.

  5. SPerk15
    Member
    Posted 4 years ago #

    would you know how to do this in the mystique theme? there is no </div><!--#main --> in the footer.php file. Also I'm very much a novice at adjusting php and css stuff so sorry if this is an elementary question

  6. SPerk15
    Member
    Posted 4 years ago #

    nevermind...was a simple css issue with my theme

Topic Closed

This topic has been closed to new replies.

About this Topic