Attaching a CSS class to the Phoca Gallery
Posted: 21 Jul 2011, 20:31
Pholks,
I've been messing around with Phoca Gallery's main component/menu function in Joomla, and using the "Page Class Suffix" option in the Joomla menu item detail (under "Parameters - System")
It looks like the class suffix gets applied to the main title, and the footer, but not to the actual images and thumbnails (The classes for those images start with "phocagallery-box-file")
IF ... the page class suffix was applied to the thumbnails, and we were to start the class with a space, we could customize each menu item to show it's categories with special CSS overrides (on a per-menuitem basis)
To test this out, I found all the code lines in v2.7.8, and made the adjustments - this seems to work as expected.
Jan ... if you PM me, I can send you the diff's (or the modified files) for you to have a look at, Maybe this improvement could be rolled into the next version upgrade?
Thanks,
Sp
I've been messing around with Phoca Gallery's main component/menu function in Joomla, and using the "Page Class Suffix" option in the Joomla menu item detail (under "Parameters - System")
It looks like the class suffix gets applied to the main title, and the footer, but not to the actual images and thumbnails (The classes for those images start with "phocagallery-box-file")
IF ... the page class suffix was applied to the thumbnails, and we were to start the class with a space, we could customize each menu item to show it's categories with special CSS overrides (on a per-menuitem basis)
To test this out, I found all the code lines in v2.7.8, and made the adjustments - this seems to work as expected.
Jan ... if you PM me, I can send you the diff's (or the modified files) for you to have a look at, Maybe this improvement could be rolled into the next version upgrade?
Thanks,
Sp