Responsive not right

Phoca Gallery - image gallery extension
mojsplet
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 29 Nov 2016, 13:54

Responsive not right

Post by mojsplet »

Im working on site with Phoca and cant get responsive view on first page. As you can see on https://www.phoca.cz/joomla3demo/ you have the same problem (Im using same view). Below 400px, gallery is not responsive. If you have larger images this limit is visible on 500 or 600px (depends on image size).
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Responsive not right

Post by Jan »

Hi, there are some features, which cannot be 100% as they use fixed width.

And there are feature which (because of responsivity) use very difficult javascript code to manage it, see example:

https://www.phoca.cz/phocacartdemo/phoca-gallery - normaly, Masonry effect works great with fixed width images but if you want to have them fully responsive, you need to count with javascript all the screen width and height to "stabilize" then the view.

By Mosaic effect in Categories View, there is needs fixed width for the images so if you really need fully responsivity, disable mosaic effect as it is based on fixed sizes :idea:

See:
https://www.youtube.com/watch?v=odIoUyv-ncE
for differnt methods to have the gallery responsive.

Jan
If you find Phoca extensions useful, please support the project
mojsplet
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 29 Nov 2016, 13:54

Re: Responsive not right

Post by mojsplet »

Can you tell me which file is responsible for mosaic view? I will try some magic:)
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Responsive not right

Post by Jan »

Hi, what you exactly mean with: "which file is responsible for mosaic view"?

Jan
If you find Phoca extensions useful, please support the project
Post Reply