Changing Color of Image Background (2 posts)

  1. paulgian
    Posted 3 years ago #


    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
    Forum Moderator
    Posted 3 years 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