WordPress.org

Ready to get started?Download WordPress

Forums

Twenty Twelve
Remove margins on header image (3 posts)

  1. rachelk13
    Member
    Posted 3 months ago #

    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.

  2. alchymyth
    Forum Moderator
    Posted 3 months ago #

    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.

  3. rachelk13
    Member
    Posted 3 months ago #

    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. ;)

Reply

You must log in to post.

About this Theme

About this Topic