ThemeShaper Forums » Thematic

[closed]

Div width of element.style setting

(3 posts)
  • Started 11 years ago by iyamdman
  • Latest reply from iyamdman
  • This topic is resolved
  1. iyamdman
    Member

    I am working with the Thematic theme on this site:

    http://hotrodhoochhotwheels.com/wpsitehrhhw/

    On this page I have loaded some photos:

    http://hotrodhoochhotwheels.com/wpsitehrhhw/cars/camaro

    You will see in the top image, that it is larger then the bottom photo, but that it's right side has been cut-off/hidden.

    How can I get it so that the template will adjust the image size to a max-width?

    I am using Firebug, and I can see that the container is Div id = "Post-#" and the Div Class = "entry-content"

    I think in there, is where the "element.style" is set to 810px.

    I look through all the .css files, and can't find any code setting this width.

    Does this mean that it is set by being = to a certain width of some other area?

    Where in the .css files can I find where this width is set, or some way to override it? In the default.css? style.css?

    Posted 11 years ago #
  2. it is due to the weird way WP auto calculates the width of the caption div. you can try setting the max width of the caption div to be the same as the width of the content div. in your case

    .wp-caption {
    max-width: 660px;
    }
    Posted 11 years ago #
  3. iyamdman
    Member

    Helga - you are a goddess - the max-width worked perfectly!!! Thank you sooooo much.

    Posted 11 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.