Gallery v. 4.3.5 not centered
Posted: 30 Jun 2017, 17:38
Hi!
I upgraded Phoca Gallery to v. 4.3.5 and now all images and categories float left to border of container div. But before they were in the middle (like Phoca demo site). It is not a problem for desktop version, but on mobile (width<800px) looks not good.
I see on demo site .pg-msnr-container div has inline style "width = content_width" (mb. it dynamic calculate in php) and it easy to center with margin:auto. But on my site its width=parrent_width so its width always greater then content_width :( .
My site gallery URL: https://mooovoi.org/foto
I upgraded Phoca Gallery to v. 4.3.5 and now all images and categories float left to border of container div. But before they were in the middle (like Phoca demo site). It is not a problem for desktop version, but on mobile (width<800px) looks not good.
I see on demo site .pg-msnr-container div has inline style "width = content_width" (mb. it dynamic calculate in php) and it easy to center with margin:auto. But on my site its width=parrent_width so its width always greater then content_width :( .
My site gallery URL: https://mooovoi.org/foto