PDA

View Full Version : Article images displayed too large


otectom
08-14-2011, 09:19 PM
When posting CMS articles on my site I use the attachments to add images. After switching to a new theme I noticed that images display too large, cutting them off. See here for example

http://teamotec.net/content.php?182-...mport-Alliance
(first image is made at correct size, following images display too large)

In other themes on my site they display properly, but with this one they do not (feel free to choose a different style to view what I'm talking about). How can I edit this theme to display the images properly?

I have tried changing the vbcms_article_image_large_max stylevar, but with no change seen

kh99
08-14-2011, 09:39 PM
I don't know a lot about CSS, but the one that's working has this in the CSS:

.article img {
border: 0;
margin: 10px;
max-width: 800px;
}


and the other one is missing the max-width line.

otectom
08-15-2011, 08:16 PM
What file was that in!?!?!?!?!?

kh99
08-15-2011, 08:26 PM
It looks like it's in the common CSS template, and max-width is set by a stylevar. But it also looks like maybe you fixed the problem?

otectom
08-15-2011, 08:37 PM
Yes I just did!!! It was in the vbcms.css template. Thanks for the help it was really appreciated!!