[Resolved] background overlay for full-width image for entire site

Home Forums Support [Resolved] background overlay for full-width image for entire site

Home Forums Support background overlay for full-width image for entire site

  • This topic has 3 replies, 2 voices, and was last updated 4 years ago by Leo.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1224373
    markus

    Text can be hard to read over a contrasty image. Where can I add a solid rgba color overlay on top of the entire large image on the URL in question, for the entirety of the site ?

    #1224389
    Leo
    Staff
    Customer Support

    Hi there,

    For the body background? If so we can apply it using CSS like this:

    body {
        background-image: linear-gradient(0deg, rgba(0,0,0,0.49),rgba(0,0,0,0.49)), url(https://IMAGE-URL-HERE)
    }

    Adding CSS: https://docs.generatepress.com/article/adding-css/

    #1224418
    markus

    Yes This adds a semi-transparent overlay to the image that was in Customizer> Background> Body

    Thank you for the quick reply!

    #1225102
    Leo
    Staff
    Customer Support

    No problem 🙂

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