[Resolved] How to add shadow to the text in hero banners?

Home Forums Support [Resolved] How to add shadow to the text in hero banners?

Home Forums Support How to add shadow to the text in hero banners?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1149811
    Daniel

    I saw this topic: https://generatepress.com/forums/topic/text-shadow-elements-header/ but it really didn’t work for me (except for my home page). I have different hero banners on most of my pages but the shadow text just doesn’t appear there despite adding this code in the additional CSS.

    #1149862
    Leo
    Staff
    Customer Support

    Hi Daniel,

    Try this CSS:

    .page-hero h1 {
        text-shadow: 10px 5px 1px rgba(20,20,20,.4);
    }

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

    Make sure to clear your caching plugin.

    Let me know if this helps ๐Ÿ™‚

    #1150576
    Daniel

    Thanks, that helped

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