please have a look here:
https://www.natur-fotograf.ch/index.php/top-10
The picture are set to 420 width on module settings.
How can i do it to set it responsive?
I'd like 2 rows with the pictures on big screen and 1 row on Handy. but responsive.
thanks for helping
Phoca Gallery Image Module not responsiv?
-
- Phoca Enthusiast
- Posts: 75
- Joined: 13 Apr 2011, 16:28
-
- Phoca Hero
- Posts: 2819
- Joined: 28 Nov 2010, 17:20
Re: Phoca Gallery Image Module not responsiv?
Hi sapo,
In your case it's very usefull sharing us your URL, to see that the module has also a div class: mosaic. Therefore:
Add at the end of your template.css:
Kind regards
Christine
yes, there is an inline-segment with fixed pixel.
in principle it works already (generally) in template.css > with: max-width:100%; but for the module there are fixed width.How can i do it to set it responsive?
In your case it's very usefull sharing us your URL, to see that the module has also a div class: mosaic. Therefore:
Add at the end of your template.css:
Code: Select all
#phocagallery-module-ri .mosaic {
max-width:100%;
height:auto;
}
Christine
-
- Phoca Enthusiast
- Posts: 75
- Joined: 13 Apr 2011, 16:28
Re: Phoca Gallery Image Module not responsiv?
Hi Christine
thanks for helping.
I put it on the end of the Template CSS, but it is still the same problem.
Can you have a look please?
Thanks a lot!
thanks for helping.
I put it on the end of the Template CSS, but it is still the same problem.
Can you have a look please?
Thanks a lot!
-
- Phoca Hero
- Posts: 2819
- Joined: 28 Nov 2010, 17:20
Re: Phoca Gallery Image Module not responsiv?
Hi Sapo,
sehr schöne Landschaftsbilder! Erst nach Leeren des Caches, habe ich gesehen, dass auf Mobilseite es nun responsiv ist.
mit jetzigem Code: https://imgur.com/w2lvE84
ohne Code: https://imgur.com/bXaLjlL
Oder Du meinst es anders.
Liebe Grüße
Christine
sehr schöne Landschaftsbilder! Erst nach Leeren des Caches, habe ich gesehen, dass auf Mobilseite es nun responsiv ist.
mit jetzigem Code: https://imgur.com/w2lvE84
ohne Code: https://imgur.com/bXaLjlL
Oder Du meinst es anders.
Liebe Grüße
Christine
-
- Phoca Enthusiast
- Posts: 75
- Joined: 13 Apr 2011, 16:28
Re: Phoca Gallery Image Module not responsiv?
Salut Christine
hast recht, passt so bestens.
Vielen herzlichen Dank auch fürs Kompliment
hast recht, passt so bestens.
Vielen herzlichen Dank auch fürs Kompliment
-
- Phoca Hero
- Posts: 2819
- Joined: 28 Nov 2010, 17:20
Re: Phoca Gallery Image Module not responsiv?
Hallo sapo,
danke für Deine Rückmeldung!
Liebe Grüße
Christine
danke für Deine Rückmeldung!
Liebe Grüße
Christine