Option 1
if you want to show the gallery as a content-block (not in background) on mobile devices, you can load extra CSS depending on screen width with media queries. You have to overwrite some position: absolute
in this extra-file to get your blocks back in flow.
like:
<link type="text/css" rel="stylesheet" media="only screen and (max-device-width: 1024px)" href="/mobile.css" />
or overwrite it in the existing css file:
@media all and (max-width: 1024px) {
.galleria-container {
position: relative;
}
/* and a lot more CSS ;-) */
}
Option 2
to have scrollbars with your existing layout, you anyway have to replace some position: absolute
and float: left|right
, to get your content back in flow and extend the height of parent div-elements:
html {
overflow: auto !important;
}
body {
overflow: visible !important;
}
#info {
position: relative;
float: none;
}
#product-details {
position: relative;
}
I tested this setup. Scrollbars are visible now on iPad/iPhone and IE9+. But you have to adapt the margins and offsets, because I had to change position
values
See http://stephan.mestrona.net/finegra.in/products/bowden.html