Prose – Auto-thumbnail resizing + Removing extra caption padding

Community Forums Forums Design Tips and Tricks Prose – Auto-thumbnail resizing + Removing extra caption padding

This topic is: resolved

This topic contains 3 replies, has 1 voice, and was last updated by  middayminer 1 year, 1 month ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #49230

    middayminer
    Participant
    Post count: 72

    Hi, I can’t figure out why I still have a bit of left and right padding on thumbnail captions, when I’ve already set those settings in css to 0 here: http://www.foundwonders.com/category/visuals/

    
    wp-caption {
    background: none repeat scroll 0 0 #f9f6f2;
    border-style: solid;
    border-width: 1px;
    border-color: #bfbab6;
    padding-top: 0px;
    padding-bottom: 0px;
    padding-left: 0px;
    padding-right: 0px;
    }

    Secondly, is there a way to have auto-downsizing thumbnails based on layout? At the main site view (http://www.foundwonders.com) , the large thumbnail gets clipped. I’d rather not choose between layouts or thumbnail sizes.
    Alternatively, if there’s a way to use a single thumbnail size that auto-scales to the user content area width, that would be great! An upper limiter of at 570px width, say.

    Thanks!

    #49236

    middayminer
    Participant
    Post count: 72

    Fixed the caption problem with code from here: http://www.chrismower.com/1020/customize-your-wordpress-image-captions/

    Now I only have the thumbnails themselves to contend with :)

    #49241

    middayminer
    Participant
    Post count: 72

    Decided I really wanted borders, found a solution in google:

    .wp-caption {
            width: auto !important;
    #49250

    middayminer
    Participant
    Post count: 72

    After more googling, fixed that second problem. Overly large thumbnails with captions are now responsive. I feel a bit silly, but hopefully this thread will help others, if nothing else.

    .wp-caption,
    .wp-caption-text {
    max-width: 98.5%;
    height: auto;
    }
Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Prose – Auto-thumbnail resizing + Removing extra caption padding’ is closed to new replies.