Probably BUG - long string name of album not being wrapped on album thumbnail

andy duggan

Joined: 2006-05-21
Posts: 90
Posted: Thu, 2013-12-19 06:59

A user album with a long name but no spaces in it is 'overflowing' off to the right of the album cover. Text is not being wrapped properly like other album names.
Andy

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2013-12-19 15:53

How do you wrap text with no spaces?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2013-12-19 16:31

Add:

.g-album H2 a {
word-wrap:break-word;
}

to the css of your theme

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
andy duggan

Joined: 2006-05-21
Posts: 90
Posted: Thu, 2013-12-26 11:23

"How do you wrap text with no spaces?"
As Im not a coder I can't say which is the best way for the gallery but I guess a check could be done comparing to the album cover size(width)/thumbnail setting.

I take it that is done with the piece of code you supplied - in word-wrap.