Help with WordPress 2.6 Image Captions and video

Discussion in 'WordPress' started by ACrofford, Jul 15, 2008.

  1. #1
    I really like the captions option in WP 2.6. I am trying to use them but there is not spacing between the caption and my post test. I also wanted it to be a different color and aligned differently.

    I assume I need to create a new class and then with each caption use <div class="caption">the caption</div>. This works but I don't know how to get it so it is spaced.

    .caption {
    color: #999999;
    text-align: left;
    }

    You can see what I am talking about at www.andycrofford.com.

    Also, when I try to embed the video on the WP Dev blog it is just a blank space where the vid should be. Any ideas on that?
     
    ACrofford, Jul 15, 2008 IP
  2. mhmtozek

    mhmtozek Peon

    Messages:
    380
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    0
    #2
    use wp-caption as class.

    For example
    .wp-caption {
    text-align:center;
    font-size:80%;
    background:#eaeaea;
    border:1px solid #222;
    margin:4px;
    }
     
    mhmtozek, Jul 16, 2008 IP
  3. MindBlogger

    MindBlogger Peon

    Messages:
    109
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Exactly! That should do the trick..
     
    MindBlogger, Jul 18, 2008 IP