Page 1 of 1

CSS problem with two phocagalleries in one article

Posted: 05 Mar 2018, 23:13
by f.gruber
Hi,
after inserting 2 phocagallery category views into one joomla article I notice a strange behavior.

The first gallery is displayed as expected with 4 pictures per line.
The second gallery has larger frames around the thumbnails and therefore there are only 3 fotos displayed per line.

It does not help to change the order of the galleries. Always the the first is displayed as expected and the second is displayed with non expected 3 pictures per line.

Hi, I just found the solution myself. I had to add a second CSS definition to my custom.css file in this way:

Code: Select all

div.phocagallery-box-file.pgplugin1,  div.phocagallery-box-file.pgplugin2 {
    padding:0px !important;
}
Please note also this forum post: viewtopic.php?f=1&t=58492

Ferdinand

Re: CSS problem with two phocagalleries in one article

Posted: 06 Mar 2018, 13:13
by christine
Hi Ferdinand,

thank you for your information!

Kind regards
Christine