WordPress.org

Forums

Image frame appearing in one template, not apperaing in other (3 posts)

  1. mlopesciolo
    Member
    Posted 1 year ago #

    My website uses two templates: one where basic content stretches the whole page, and one where room for a sidebar exists. In the full-page template, images do not have any border surrounding them: http://www.centennial-group.com/?page_id=1855. In the sidebar template, they do: http://www.centennial-group.com/?page_id=1377. The HTML behind the images is identical, and the images are all standard .jpg's loaded through the WordPress media library, so my guess is that it has something to do with the templates.

  2. WPyogi
    Forum Moderator
    Posted 1 year ago #

    This CSS is doing that:

    .postcontent img, .widget_sp_image img {
        background: none repeat scroll 0 0 #FFFFFF;
        border: 1px solid #DCDCDC;
        border-radius: 5px;
        padding: 5px;
    }
  3. mlopesciolo
    Member
    Posted 1 year ago #

    So, to fix the issue, do I insert that block of text into the style.css document?

Topic Closed

This topic has been closed to new replies.

About this Topic