Member
Member
Mates-K1   04-10-2013, 13:45
#1

Hi,
if album has a long name (two rows in frontend)and album is leftmost (in frotend = 1. album, 4. album, 7. album,...), in next thumbs row there is only one thumb align to center.

Zenphoto 1.4.5.5
zpArdoise 1.4.5(not only in this build)

Screenshot: http://skaut.zamberk.cz/images/galerie/zp_bug.jpg

Can anybody confirm this? Thanks. Mates

Administrator
Administrator
acrylian   04-10-2013, 14:15
#2

Not knowing this theme this is probably coded to have only space for one line of text. There are bascially these ways to get even rows:

  1. Reserve more space for possible more text. Drawback: A lot of empty space if titles are short.
  2. Clear the floating after each row so the space can adjust to the largest title. This is what I would recommend.
Junior Member
Junior Member
Birken   18-12-2013, 06:16
#3

I'm having the exact same problem with this theme.
Any solution yet?

Administrator
Administrator
acrylian   18-12-2013, 10:44
#4

The solution is up to the theme's developer.

Member
Member
vincent3569   18-12-2013, 12:06
#5

hi

the basic solution is to shorten titles...
I will have a look on the 2nd way of acrylian.

Member
Member
vincent3569   19-12-2013, 20:33
#6

acrylian,
I think I need some advice.
I am unable to find the way to solve this issue by clearing the floating.

Administrator
Administrator
acrylian   19-12-2013, 21:43
#7

You bascially need to put a (or clear:left as you probably use that) after each "row". Since ther are no rows you need to count the items until the number of items per row is reached and then reset it.

`
$count = '';
next_album/next_image loop { // don't remember what it is
$count++;
printImageThumb();
if($count == 3) } //the desired number of items per row - depends on the css!
echo "

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.