Skip to content
WJunction - Webmaster Forum

Wordpress image problem, how to fix via CSS

Status
Not open for further replies.
On site filmstube.org, all the images have 250px, even the ones that are not needed, I tried fixing it but failed. Any help?
Example
rxINF.png

(right bottom)
Thanks !:)
 
Last edited:

7 comments

Your style css

img {
max-width: 100%;
height: 300px;
}

change height of the image to probably 100% ?

or even change height, to max-height: 100%
 
Last edited:
Then the whole site goes bad:/ All images get big sizes, and since they are featured images there is no size so I can sellect, also I use 'Generate Post Thumbnails' plugin..
 
or even change height, to max-height: 100%

then, when posting images, you can set any width height you want, as long as it does not go over original 100% in pixels

ex:

< img src="http://somesite.com/someimage.jpg width="200" alt="somename" />
 
I've put, max-height: 100%, go check to see what happens :S
Is there any way to just edit the img variable in CSS, example img1 for featured images, and img for the simple ones?

I don't remember CSS very well..
 
No need :) Glad it worked.

If you want, I can adjust the template for you so that it uses that image size you need as now you are loading too big images and that slows website down.
You can actually add new image size via WordPress functions, PM me if you want that, I'll do it for free.
 
Status
Not open for further replies.

About the author

stefan-te
Active Member · Joined
1,494
Messages
497
Reactions
83
Points

Advertise on WJunction

Reach 1000's of webmasters, hosts & affiliates. Banner & sponsored-thread slots available.

Contact us
Back
Top Bottom