WordPress.org

Support

Support » Themes and Templates » Remove margins on header image

Remove margins on header image

  • I am currently working on a child theme for the Twenty Twelve theme. I am trying to create a header that does not have any white space in the margins. I was able to remove the top padding with some work.

    Site: http://tinyurl.com/pu4pnz5

    Thank you in advance.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Michael

    @alchymyth

    move the padding:

    body .site { padding-left: 0; padding-right: 0; }
    #main, #colophon, #site-navigation { padding-left: 30px; padding-right: 30px; padding-left: 2.1rem; padding-right: 2.1rem; }

    not tested for narrow screens; you might need to add the styles into a @media query.

    This worked perfectly. Thank you for your help.

    P.S. Thank you @alchymyth for all the work you do in the forums. You have helped me on numerous wp tasks with your forum thread answers. 😉

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Remove margins on header image’ is closed to new replies.