WordPress.org

Ready to get started?Download WordPress

Forums

Changing Color of Image Background (2 posts)

  1. paulgian
    Member
    Posted 1 year ago #

    Hi,

    For example, http://onlinediamondbuyingguide.com/blog/, the light bluish box that surrounds any uploaded image in posts.

    How do I customize that in the twenty eleven theme?

  2. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    The background color I see is grey -- and is set in this CSS - line 895 of style.css:

    .wp-caption {
        background: none repeat scroll 0 0 #EEEEEE;
        margin-bottom: 1.625em;
        max-width: 96%;
        padding: 9px;
    }

    You can copy the above to your child stylesheet and then change the color (#EEEEEE).

Topic Closed

This topic has been closed to new replies.

About this Topic