Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Montezuma Theme (http://forum.bytesforall.com/forumdisplay.php?f=53)
-   -   Image Problem (http://forum.bytesforall.com/showthread.php?t=19256)

brilla Jan 4, 2013 11:55 AM

Image Problem
 
I have resized the images in a post bu the images won't resize. Here is the code:

Quote:

<img class="alignright" style="margin-left: 10px; border: 0px none;" title="Zygote label.png" alt="Zygote label" src="http://angelakbrill.com/wp-content/uploads/2013/01/Zygote-label.png" width="181" height="163" border="0" />
Here is the post: http://wpsd.net/blogs/wpsdtech/zygote-body-2/


What am I missing here?

jerryc Jan 4, 2013 01:14 PM

Quote:

Originally Posted by brilla (Post 94536)
I have resized the images in a post bu the images won't resize

If you wrap the image in a div or a span wrapper, and set the width of the wrapper to the width you want the image to be, and height at auto, the theme css for images has width: 100%; and height:auto; so the image will fill the width of the container and retain the aspect. If you set the wrapper width as a percentage value, instead of px, the image will auto resize to any browser window or resolution. It works every time for me. It's part of why I love Montezuma.

P.S. If you put the image in a span, you might have to make img display:inline.

lmilesw Jan 4, 2013 01:25 PM

I would check for plugin conflicts. Resizing works fine for me.


All times are GMT -6. The time now is 05:27 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.