Thumbnails appear beneath contentpane!

Phoca Gallery - image gallery extension
Judith
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 02 Aug 2009, 21:39

Thumbnails appear beneath contentpane!

Post by Judith »

I just made my first blank Joomla template. (actually, it's my second...). I used the Phoca gallery that was already installed by someone else, and I updated it to version 2.5.3

The thumbnails in the categorylist are shown just fine. Also the sub-categories. But, the thumbnails of the pictures in the category itself, are placed under the content pane, instead of in it.

I'm searching for 2 whole days now, but I can't seemto find what I did wrong.

Can anyone help me out here?

See what I mean; http://www.astridschute-natuurfotografie.nl

Best regards,

Judith
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Thumbnails appear beneath contentpane!

Post by Jan »

Hi, because of float boxes, there are clear:both attributes.

I don't know your template, but if you will disable 2x both clear:

\components\com_phocagallery\views\category\tmpl\default_categories.php

remove:
<div class="phoca-hr"></div>

and end of float boxes:
<div style="clear:both">

It will be displayed in the content.

So I think, there is some problem with clear:both attribute. Maybe the left menu is float box and the clear in Phoca Gallery (it is needed because of image float boxes) will end it :idea:

Jan
If you find Phoca extensions useful, please support the project
Post Reply