Posts: 184
Threads: 20
Joined: Apr 2010
Hi Mvlcek,
I am making my client's GetSimple site into responsive. I have got everything else figured out and done except the i18N Gallery slideshow in the homepage header.
Somehow the code
width: 95%;
height: auto;
is not working, even though with the same css I have successfully made the site images responsive.
Help please?
Posts: 6,266
Threads: 181
Joined: Sep 2011
try width:95% !important;
Posts: 184
Threads: 20
Joined: Apr 2010
2013-12-03, 00:45:09
(This post was last modified: 2013-12-03, 00:46:11 by andyash.)
(2013-12-03, 00:04:21)shawn_a Wrote: try width:95% !important;
This doesn't work either. My guess is the cycle plugin code is picking up image dimensions and creating on the fly css which is outputting the width and height. It shows in the view-source as well as shown below.
Code:
<style type="text/css">
#gallery-cycle-slideshow.gallery-cycle {
width: 960px;
height: 400px;
}
#gallery-cycle-slideshow.gallery-cycle .gallery-container {
width: 960px;
height: 400px;
position: relative;
}
#gallery-cycle-slideshow.gallery-cycle .gallery-text {
position:absolute;
width: 960px;
bottom: 0;
background: rgba(0,0,0,0.5);
color: white;
}
#gallery-cycle-slideshow.gallery-cycle .gallery-image {
width: 960px;
height: 400px;
}
#gallery-cycle-slideshow.gallery-cycle .gallery-control {
left: 442px;
text-align: center;
}
</style>
Also disabling the css in gallery settings removes the gallery altogether.
Posts: 79
Threads: 2
Joined: Feb 2012
andyash,
You might want to read this post from last year:
http://get-simple.info/forums/showthread...ght=images
It has information you might be able to use.
…hope this helps!
Posts: 184
Threads: 20
Joined: Apr 2010
(2013-12-03, 02:49:11)eatons Wrote: andyash,
You might want to read this post from last year:
http://get-simple.info/forums/showthread...ght=images
It has information you might be able to use.
…hope this helps!
I don't know if it'll work with a dynamic gallery, i'll try and let you know.