responsive partially working for iphone with sidebar?
-
This theme looks amazing on every device I’ve tried except iphone it’s not wrapping to 1 column with sidebar layout. I’ve tried pc desktop resize all browsers, android phone and tablet, windows phone, iphone 4 and customer has iphone 5s and tried the online iphone viewport emulator. All perfectly responsive for no sidebar layouts. 2 col post grid layout also responsive (one column on the iphones). On the iphone devices the header image and menu (hamburger fine), footer 3->1 col fine. Only sidebar layout section not wrapping (seems to stay at 2 col no matter what I do both portrait and landscape). Left col does focus tried both left and right sidebar layouts, but right col stays on the right.
Tried changing viewport meta tag to <meta name=”viewport” content=”width=device-width, initial-scale=1″> which makes it possible to scroll over to 2nd right col in sidebar layout. Tried adding css @media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) section to child theme and media-queries.css (just in case) which works for another theme I use and the following css to force to test (working 1 col on every device except iphones):
#zoom-theme-main {float: none;min-width: 100%;width: 100%;display: flex;flex-direction: column;}
#primary.site-content.page-with-sidebar-left {float: none;display: block; min-width: 100%; width: 100%;order:1;padding: 10px !important;}
#secondary.widget-area.leftside {float: none;display: block;min-width: 100%; width: 100%;height:auto; order:2;padding: 10px !important;}Any suggestions on what to try next would be very appreciated.
- The topic ‘responsive partially working for iphone with sidebar?’ is closed to new replies.