WordPress.org

Support

Support » Themes and Templates » [Resolved] removing shadow from 2012 header image, but not from page images

[Resolved] removing shadow from 2012 header image, but not from page images

  • I made a child of 2012 and am testing it on local network, I added the following to the child CSS:

    .entry-content img,
    .comment-content img,
    .widget img,
    img.header-image,
    .author-avatar img,
    img.wp-post-image {
    /* Add fancy borders to all WordPress-added images but not things like badges and icons and the like */
    border-radius: 03px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    }

    I find I can adjust the border radius and box shadow easily enough by changing the values, but I only want to take the box shadow off the header image, not all the images throughout my theme.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Can you provide a link to your site?

    Michael

    @alchymyth

    Forum Moderator

    without having checked a site using the theme, using this line to overwrite the shadow might work:

    img.header-image,

    use a browser inspection tool to find out which css classes the header image has.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] removing shadow from 2012 header image, but not from page images’ is closed to new replies.
Skip to toolbar