The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
Hi all,
Is there anyway i can uniform the album thumbnails so that both landscape and portrait images can fit into the same sized box? - i really dislike the way the mixture of portrait and landscape as album covers causes the alignment to go out, things need to be uniform ![]() I tried fillding with #latestalbumcontainer li but this causes the potrait images to be cut off. Thanks B |
|
#2
|
||||
|
||||
|
Anyone got any wee tricks up their sleeves for this one?
|
|
#3
|
|||
|
|||
|
You have to go after the thumb image itself. Not the container. If you resize the container, like you found, it cuts off parts of the image and/or text.
Here's the formula they use also found in the album.css Code:
#thumbnails li .picture {
display:block;
width:{vb:math {vb:raw vboptions.attachthumbssize}+8}px;
height:{vb:math {vb:raw vboptions.attachthumbssize}+8}px;
padding:{vb:stylevar padding};
}
|
|
#4
|
||||
|
||||
|
Of course, yes.. ok will play with the math formulas.
Thank you. |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|