CSS problem with two phocagalleries in one article

Phoca Gallery - image gallery extension
User avatar
f.gruber
Phoca Member
Phoca Member
Posts: 39
Joined: 12 Sep 2012, 11:47

CSS problem with two phocagalleries in one article

Post 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

Tags:
christine
Phoca Hero
Phoca Hero
Posts: 2819
Joined: 28 Nov 2010, 17:20

Re: CSS problem with two phocagalleries in one article

Post by christine »

Hi Ferdinand,

thank you for your information!

Kind regards
Christine
Post Reply