[Resolved] Header gradient overlay over image

Home Forums Support [Resolved] Header gradient overlay over image

Home Forums Support Header gradient overlay over image

  • This topic has 6 replies, 3 voices, and was last updated 5 years ago by David.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #808451
    David

    Hello

    Im looking to add a gradient from green to transparant on my header images, any help on how to do this…

    http://185.20.51.60/~hiremarqueeco/

    Thanks
    Dave

    #808783
    Leo
    Staff
    Customer Support

    Hi there,

    You can use this site to generate the desired gradient:
    https://cssgradient.io/

    Then add this CSS:

    .page-hero {
        background-image: linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(9,9,121,0.46262254901960786) 35%, rgba(0,212,255,1) 100%), url(http://185.20.51.60/~hiremarqueeco/wp-content/uploads/2019/02/LED-uplighters-with-Festoon.jpg);
    }

    Just replace the linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(9,9,121,0.46262254901960786) 35%, rgba(0,212,255,1) 100%) with the actual desired gradient generated from the link above.

    Let me know if this helps ๐Ÿ™‚

    #808983
    David

    Thanks Leo

    #809593
    Leo
    Staff
    Customer Support

    No problem ๐Ÿ™‚

    #870600
    David

    Hi

    How can I get a gradient overlay to sit on top of a featured image?

    Thanks
    Dave

    #870647
    David

    Don’t worry, sorted.

    #870665
    David
    Staff
    Customer Support

    Glad to hear that you got it resolved.

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.