[resolved] removing shadow from 2012 header image, but not from page images (3 posts)

  1. sioy
    Posted 3 years ago #

    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,
    .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.

  2. Chris
    Posted 3 years ago #

    Can you provide a link to your site?

  3. Michael
    Forum Moderator
    Posted 3 years ago #

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


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

Topic Closed

This topic has been closed to new replies.

About this Topic