Grow your CSS skills. Land your dream job.

WP Captions CSS Problem

  • # October 2, 2012 at 6:51 pm

    Building a WP theme with a beautiful backend and functionality. My problem, however, is with CSS image captions!

    I know I must be missing something basic here, but the width of my image captions is not conforming to the #post_content it is sitting inside.

    I appreciate any help!

    Example:
    [http://themeforward.com/demo2/?p=758](http://themeforward.com/demo2/?p=758 “http://themeforward.com/demo2/?p=758″)

    My Image and Caption CSS:
    [http://snippi.com/s/jpilgjn](http://snippi.com/s/jpilgjn “http://snippi.com/s/jpilgjn”)

    # October 2, 2012 at 7:01 pm

    its not just the captions – the images and their containing divs are too wide for the #post-content div. remove the inline width styling from:

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".