WordPress.org

Forums

Twenty Thirteen
How can I resize the twenty thirteen header and header image dynamically? (1 post)

  1. joeyslaptop
    Member
    Posted 10 months ago #

    I want my header image in the twenty thirteen theme to scale based on the size of the browser window. I'm using a child theme, and would like to try to keep any additional code there.

    Currently, I'm using this (which I found on another discussion):

    /* Header Responsive */
    .site-header {
    	background-size: 100% 84% !important;
    }

    It works right for the header image, but when I make the browser window more narrow, I'm left with a huge white gap at the bottom where the picture no longer fills the header.

Reply

You must log in to post.

About this Theme

About this Topic