[Resolved] shadow text on post header content

Home Forums Support [Resolved] shadow text on post header content

Home Forums Support shadow text on post header content

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #676690
    Pia

    Hi!
    I am trying to find some css to make the text in page header with shadow. I would like to have white text with shadow or a thin outline so it doesn’t blend with the featured image. Please can you help me? Thank you!

    Kind regards Pia

    #676704
    Leo
    Staff
    Customer Support

    Hi there,

    You can try some CSS like this:

    .page-header-content-container h1 {
        text-shadow: 1px 5px 4px rgba(0, 0, 0, 1);
    }

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

    I should also mentioned that Page Header module has been replaced with our newest add-on Header Element/Page Hero so it’s definitely a good idea to migrate them over.

    See more info here:
    https://docs.generatepress.com/article/header-element-overview/
    https://docs.generatepress.com/article/moving-hooks-page-headers-to-elements/

    Let me know if this helps πŸ™‚

    #676883
    Pia

    Thank you! It worked like a charm πŸ™‚
    Will take a look att the newest add-on too, thanx for the tip πŸ˜€

    #677322
    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.