WordPress.org

Ready to get started?Download WordPress

Forums

Make captions bigger or bold (7 posts)

  1. eagerwatcher
    Member
    Posted 2 years ago #

    The captions at ..

    http://www.ourchangingglobe.com/what-would-trigger-a-us-strike-on-irans-nuclear-facilities/

    look pretty lame.

    How can I change the size or make it bold?

    Also the caption is not centered vertically.

    Any ideas would be much appreciated.

    Jane

  2. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

    .wp-caption p.wp-caption-text
    {
      font-size: 11px;
      line-height: 17px;
      padding: 0 4px 5px;
      margin: 0;
    }

    close to the end of style.css of your theme.

    http://www.w3schools.com/css/css_font.asp

  3. eagerwatcher
    Member
    Posted 2 years ago #

    Thanks.

    But that's the code that presently exists on the style.css theme.

    Jane

  4. Pioneer Valley Web Design
    Member
    Posted 2 years ago #

    Modify that then.

  5. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

    +1 to the reply of @SwansonPhotos.

    that is the reason I posted a link to the font style css.

    css/formatting help is not the primary focus of a wordpress forum.

    please try to work with a web tool such as Firebug http://getfirebug.com/ to identify the involved css selctors.

    the caption is not centered vertically

    it seemed centered in my browser; if not, you could try to add text-align:center; to the caption style.

  6. eagerwatcher
    Member
    Posted 2 years ago #

    It's centered horizontally but not vertically.

    The caption is closer to the image than it is to the border.

    Why isn't CSS a function of WP?

    Do you mean that I should have posted under templates?

    This issue occurs with two different themes that I'm using.

    At a guess I'd say that around 20% of posts are regarding CSS.

    style.css is a part of WP

    Thanks for your help,

    Jane

  7. eagerwatcher
    Member
    Posted 2 years ago #

    Please take a look at this ..

    http://i41.tinypic.com/5y9i0h.jpg

    Now it's centered.

    font-size: 11px;
    line-height: 17px;
    padding: 0 4px 5px;
    margin:2px 0px 0px;
    font-weight:bold
    }

Topic Closed

This topic has been closed to new replies.

About this Topic