Question

If you visit http://www.windowswave.com on an iPhone, you'll see that my site's grey sidebar is blocking out the entire content section.

The sidebar isn't supposed to show on the iPhone, but it does now after doing some customization to my WordPress theme. I'm just not sure how to fix this.

Anyone know a solution?

Was it helpful?

Solution

try this

@media only screen and (min-device-width: 320px) and (max-device-width: 480px)
{
    .sidebar{
         display:none;
     }
}

for more info visit this CSS media queries for iPhone

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top