Number of columns

Phoca Gallery - image gallery extension
roeiegans
Phoca Member
Phoca Member
Posts: 23
Joined: 04 Jan 2008, 11:53

hello,is

Post by roeiegans »

hello,

is there a way to set the number of columns with thumbnails. In Firefox only 4 columns are shown. In IE6 5 columns are shown wich then exceedes the width of the page (see http://www.oetewaeg.nl/index.php?option ... 7%3AWKK+20 07&Itemid=67&limitstart=20).

The problem with that is, that the page doesn't fit in the template anymore and the page is broken off and shown under the original place.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

No there isn't,

Post by Jan »

No there isn't, because the boxes are float boxes (not table) and they fill the whole site. If the last box cannot be displayed on the same row, new row will be automatically added... Every browser displays the site with other resolution, so there are only 4 boxes in e.g. Firefox and 5 boxes in IE... The worst solution is adding boxes to the table and say e.g. it will have only 5 colums... (user with 800x600 doesn't see all boxes and user with 1680x1050 will see only 5 boxes on the row if he can see e.g. 15...

Your template is very nice, but I think, there are some problems with float boxes (IE6) in CSS.
If you find Phoca extensions useful, please support the project
roeiegans
Phoca Member
Phoca Member
Posts: 23
Joined: 04 Jan 2008, 11:53

OK, based on your in

Post by roeiegans »

OK, based on your info, I surfed the internet and may have come up with a solution. There seems to be a problem in IE6 with the overflow.

I want to try this by adding the rule "overflow: hidden;" to the appropriate css file. But the question is, where can I find this CSS file for the Phoca Gallery?
pswarts
Phoca Member
Phoca Member
Posts: 12
Joined: 05 Jan 2008, 13:52
Location: Netherlands
Contact:

You can find the css

Post by pswarts »

You can find the css file in
\<yourjoomlafolder\components\com_phocagallery\front\assets
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

If you want to do so

Post by Jan »

If you want to do some changes in Phoca Gallery CSS, you find it here:
joomla/components/com_phocagallery/assets/ ... but there is no problem ...there is:
- overflow hidden
- all classes which contain 'float', they contain 'position' too...

You must do changes in your template...

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