Phoca alignment issue.

Phoca Gallery modules - modules for Phoca Gallery extension
pollarrosto
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 02 Dec 2011, 18:58

Phoca alignment issue.

Post by pollarrosto »

Hi there
I'm new to Phoca. I recently downloaded the Phoca extension to add a photo gallery to a friend's Joomla website. After installing Phoca and creating a new category with its respective pictures it turns out these are displayed at the bottom of their container div instead of at the top - screenshot below. This seems pretty strange to me. Is this the default setting?

Image


How do I change this so that pictures are displayed at the top?
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9961
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Phoca alignment issue.

Post by Benno »

Hi,
did you create a menu item to Phoca Gallery Component?
Did you check this issue with the standart template for testing?

Kind regards,
Benno
pollarrosto
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 02 Dec 2011, 18:58

Re: Phoca alignment issue.

Post by pollarrosto »

Yes to the first question. Also, I just tested it with a standard template and it did not have any problem. Am I missing a piece of code somewhere?
pollarrosto
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 02 Dec 2011, 18:58

Re: Phoca alignment issue.

Post by pollarrosto »

Update

I solved the problem by editing the Phoca Gallery template files. In the "category" and "categories" template folders I edited the "default.php" files. Where it said "echo '<div style="clear:both"></div>" I removed the style element. Everything seems to work fine for now.
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9961
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Phoca alignment issue.

Post by Benno »

Ok.

Kind regards,
Benno
Post Reply