• Resolved zs09999

    (@zs09999)


    Hello:

    New to the forum and to WP. I’d really appreciate some help.

    I’m having an issue with the Twenty Seventeen Theme.

    Seems there is a darkening gradient that is there by default on top all of my images. Most of my images have lots of white and it really messes it up.

    I was able to use:

    .custom-header-media:before {
    background: none;
    }

    To get rid of the darkening over the header image.

    But I am lost as to how to do this with the images on the rest of the pages?

    For example, I have a featured image set on my “More About me” Page that I created. I can’t get rid of the darkening gradient over that page.

    Can anyone help?

    Thank you.

    ZS

Viewing 4 replies - 1 through 4 (of 4 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Can you show us the page with this featured image?

    Thread Starter zs09999

    (@zs09999)

    Andrew:

    Thanks for your response.

    You can see it here: https://www.zedsaeedphoto.com/

    The default header image is *not* showing that darkening effect, because of the lines of code I inserted. (See my original post.) But the rest of the featured images show the effect as you scroll past them.

    The effect is most visible on the large b/w images.

    I am surprised that this is not a known or discussed issue, since it seems to be the default behavior in the Twenty Seventeen theme.

    Thanks for your help.

    ZS

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    In the “Additional CSS” section of the dashboard add this:

    
    .custom-header-media:before,
    .panel-image:before {
        background: none;
    }
    

    https://codex.www.ads-software.com/CSS#Custom_CSS_in_WordPress

    Thread Starter zs09999

    (@zs09999)

    Andrew:

    Whew!

    And just like that. It was gone.

    Thank you my friend.

    ZS

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Darkening Gradient on Images’ is closed to new replies.