WordPress.org

Forums

Captions: How to center and colour light grey? (3 posts)

  1. andrewjwildey
    Member
    Posted 3 years ago #

    How can I centre captions under pictures and make them a light grey colour?

  2. loughcorrib
    Member
    Posted 3 years ago #

    Check out plugins may be one to suit
    or
    You would use html/css or just css. Depends on your theme stylesheet setup

    i.e. div class = name1, p class = name2 in html

    then call this .name1 .name2 in css
    and use style rules in sheet

  3. alchymyth
    Forum Moderator
    Posted 3 years ago #

    if you are talking about 'normal' image captions, try and add this to style.css of your theme, or edit the respective style if it already exists:

    .wp-caption-text { text-align: center; color: #ddd; }

    try to use a tool such as Firebug http://getfirebug.com/ to work out which styles to edit, or post a link to your site

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags