center album picture ?

SpookiePower

Joined: 2005-10-04
Posts: 164
Posted: Thu, 2005-11-24 13:31

On my website www.photo.activewebsite.dk the picture on the rightside
is not in the center of the box. I just can find anywhere to fix this.

Someone who can help me ?

 
notgoddess
notgoddess's picture

Joined: 2005-04-03
Posts: 178
Posted: Thu, 2005-11-24 14:43

I've attached a screenshot of your gallery page with the table cells outlined to more easily show the problem.
Also attached is a rendered source of the page, and a gif of that with the problem circled.

It looks like you have three extra table cells, each with a space in it. This is causing the mis-alignment.

You probably have your theme set up to show 4 columns by default, so it is adding the extra td's.

Now first I would suggest just editing that album, click on 'theme' and see if you can change the columns to 1. If your theme allows that it should fix the problem.

If that does not work, the place to look to fix would be your theme templates, specifically album.tpl
You'll have to edit the album.tpl file (as local/album.tpl) to see if the number of thumbs is less than the default rows and space accordingly. I .think. the variables related would be $theme.params.columns (number of columns) and $theme.children (or $theme.children.count ?).

Try the first option-that should work.

Ng

 
SpookiePower

Joined: 2005-10-04
Posts: 164
Posted: Thu, 2005-11-24 15:22

Thanks alot. It was the theme that was set up to 4 columns and I changed it to 1.
Working just fine now :)