Page 1 of 1

Remove bottom padding when 'Category Name Only'

Posted: 17 Nov 2009, 21:05
by hominid4
Hi. For my thumbnail layout I have only the thumbnail; no Detail, Download, Folder icons. In my Parameters, under 'Category View Settings', I have set "Display Name: Show Category Name Only".

This works fine when viewing the Categories layout (with the name under each Category) but when I view a Category there's an empty padding space below each thumbnail within it's box - where if I did have "Display Name: Show" the name of each thumbnail would show. I have 5px padding which is correct at top, left, right of thumbnail but below there's about a 15px padding.

Should that space be there? Is it possible to collapse that space if I only show the Category name and not the thumbnail name?

Thanks,
Wesley

Re: Remove bottom padding when 'Category Name Only'

Posted: 18 Nov 2009, 16:18
by Jan
Hi, see parameters:
https://www.phoca.cz/documents/2-phoca-g ... -menu-item

you can add some space in this parameter:

Category Box Space

you can add the minus values too here.

Jan

Re: Remove bottom padding when 'Category Name Only'

Posted: 18 Nov 2009, 18:44
by hominid4
Thanks Jan, but if I remove that space it cuts into the lettering of the category names. Is it possible to have to where if there is just the category name only that the space automatically collapses under the image thumbnail if it doesn't have a name? Or is it supposed to do that and I'm doing something wrong?

Thanks again!,
Wesley

Re: Remove bottom padding when 'Category Name Only'

Posted: 19 Nov 2009, 00:20
by Jan
No, as all boxed need to be the same height, so you cannot stylize only selected boxes.

Jan

Re: Remove bottom padding when 'Category Name Only'

Posted: 19 Nov 2009, 00:38
by hominid4
Ah ok, thanks. Would an if-else statement work in this case? Such as if there's a title then add the extra space but if else no title then don't add that space?

Thanks!,
Wesley

Re: Remove bottom padding when 'Category Name Only'

Posted: 22 Nov 2009, 23:52
by Jan
Hi, as there are a lot of icons which can be disabled or enabled, Phoca Gallery tries to count the place and make the number of rows correctly. It solves it as all the boxes should be the same (because of design effect) I didn't try to make different box high so I cannot say what exactly should be done but of course everything is possible so some if else can do such feature.

Jan