CSS to make header responsive

  • Unknown's avatar

    I need a CSS code to make my header image responsive for mobile devices. Thanks!

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    With the design of the header area this is sort of tricky to do, and when I get down to phone size on my browser window, the phone number and “Orlando” get really fuzzy. Add this at the very bottom of your custom CSS and see what you think.

    @media screen and (max-width: 550px) {
    	.header-bg {
    		background-size: 149%;
    		background-color: #fff;
    	}
    }
    @media screen and (max-width: 500px) {
    	.header-bg {
    		min-height: 200px;
    	}
    }
    @media screen and (max-width: 400px) {
    	.header-bg {
    		min-height: 150px
    	}
    }
  • The topic ‘CSS to make header responsive’ is closed to new replies.