Black Friday Sale! Get up to $40 off GP Premium!Learn more

[Support request] Background color for Page Header Text

Home Forums Support Background color for Page Header Text

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #374752
    Paul

    Hey Tom.

    Loving the new Page Header.

    I have set-up a full-screen parallax header using the featured image, with centered title text, vertically and horizontally.

    However, setting the background color only sets the color behind the image (or “over” the image using the other option).

    What I really wanted was a background color behind the content text only, versus behind or over the image. In my mind, I wanted a 50% transparency white container for the title over the full-screen image.

    Any chance you could add something like that? i.e. a text background color option?

    For now, I’ve gone with a 50% transparency white overlay over the whole image…

    Cheers!

    GP Premium 1.4.3
    #374862
    Leo
    Staff
    Customer Support

    Hi there,

    Give this CSS a shot:

    generate-inside-page-header-content {
        background-color: #ffffff;
    }

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

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