PDA

View Full Version : How to make my CMS previw article images the same size


PAPPACLART
01-16-2014, 01:26 PM
Hello

I would like my CMS article preview iamges to be re sized so that they are the same size automatically. At the moment VB will re size them so that their width is the same but not height. I am not too fussed about formatting/aspect ratio of the pic being messed as I can work around that.


Is there an easy way to do this - which template would I have to look at to fix that?

I am running VB4.2.2 with the CMS.

My site here (http://www.gtarena.com/content.php) if it helps


Many Thanks Guys

Lynne
01-16-2014, 05:18 PM
Well, if you don't care about what it does to the image, just add something like this:

.cms_article_preview_image {
height: 250px;}

PAPPACLART
01-17-2014, 10:04 AM
Many Thanks Lynne though where do I put the code, in additional.css?

Edit

I put it in additional, works a treat though I change to 150px for now. As long as my original source images are roughly the same aspect ratio/size then it should look fine.

Cheers