Support » Fixing WordPress » Separate Footer and Wrapper

  • Resolved ricketts8


    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.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Chip Bennett


    Theme Review Admin

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



    Forum Moderator

    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.

    Thanks. Working.

    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

    nevermind…was a simple css issue with my theme

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Separate Footer and Wrapper’ is closed to new replies.