Strict Standards: Redefining already defined constructor for class bbdb in /home/themes/public_html/forums/bb-includes/db-mysql.php on line 12

Strict Standards: Declaration of BB_Walker_Blank::start_lvl() should be compatible with BB_Walker::start_lvl($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127

Strict Standards: Declaration of BB_Walker_Blank::end_lvl() should be compatible with BB_Walker::end_lvl($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127

Strict Standards: Declaration of BB_Walker_Blank::start_el() should be compatible with BB_Walker::start_el($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127

Strict Standards: Declaration of BB_Walker_Blank::end_el() should be compatible with BB_Walker::end_el($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127
Div width of element.style setting « ThemeShaper Forums

ThemeShaper Forums » Thematic

[closed]

Div width of element.style setting

(3 posts)
  • Started 3 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 3 years ago #

  2. Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 440

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 510

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 512


    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 440

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 510

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 512
    helgatheviking

    Moderator

    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 3 years ago #
  3. iyamdman
    Member

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

    Posted 3 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.


Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method GA_Filter::spool_analytics() should not be called statically in /home/themes/public_html/forums/bb-includes/wp-functions.php on line 586

Strict Standards: Non-static method GA_Filter::spool_this() should not be called statically in /home/themes/public_html/forums/my-plugins/googleanalytics.php on line 183