css - Background image not scaling to phone. -


i have site built on html5 wordpress blank.

http://thesemachinesarewinning.com/

as can see it's resizes , scales browser window should, on mobile, background image not scale , logo , nav show on landscape view.

@media screen , (min-width:320px) {  } @media screen , (min-width:480px) {  } @media screen , (min-width:768px) {  } @media screen , (min-width:1024px) {  } @media screen , (min-width:1140px) {  } @media screen , (min-width:1280px) {  } @media screen , (-webkit-min-device-pixel-ratio:1.5),        screen , (min-resolution:144dpi) {  }  /* css nav , background image  body {     font:300 11px/1.4 'helvetica neue', helvetica, arial, sans-serif;     height:100%;     z-index:1;     background:url('img/home-bg.jpg') no-repeat fixed center right;     background-size: cover;     width:100%;     margin:0;     padding:0; } .page-section {     width:100%;     margin:0px auto 0px auto;     overflow-x:hidden;     z-index:100; } .nav-wrapper {     margin:3px auto 0px auto;     float:left; } .wrapper {     max-width:1280px;     width:95%;     margin:0 auto;     position:relative;     background-color:transparent; } 

try replacing current view port this:

<meta name="viewport" content="width=device-width, initial-scale=1"> 

Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

android - Keyboard hides my half of edit-text and button below it even in scroll view -

css - Make div keyboard-scrollable in jQuery Mobile? -