WordPress.org

Ready to get started?Download WordPress

Forums

Moving Header and Footer out of wrapper (2 posts)

  1. danwelsh87
    Member
    Posted 1 year ago #

    I am extremely new to WordPress. I am trying some simple changes using a child theme for Twenty Twelve.

    I want to keep my content centred in the wrapper as it already is but I want my Footer, Header and Naviagtion bar which will all be block colours to fill the whole width of the users screen but the content inside the header (such as the logo), Nav bar (links) and Footer (site map and address) to be aligned inside the wrapper of the content. So basically everything to be inside 960px but the header, Nav Bar and Footer to be block colours that stretch across the screen.

    Am I right to just move this out from the already existing wrapper? However if I do this how will I get them to aligned where I want them?

    I hope I have explained this well enough...

  2. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    You'd need to modify the header.php and footer.php files (in your child theme) so that those elements are outside of the wrapper, yes. You may need to further modify the HTML to be able to then add CSS to align elements the way you want. All of this will require quite a bit of HTML and CSS knowledge, and it will almost certainly "break" the built-in responsiveness of this theme.

Topic Closed

This topic has been closed to new replies.

About this Topic