[Resolved] Background shadow in post title like dispatch

Home Forums Support [Resolved] Background shadow in post title like dispatch

Home Forums Support Background shadow in post title like dispatch

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #926128
    Jagdish

    I want Background shadow in post title like dispatch theme. If I use background overlay, shadow is on all of the image. Please help.

    #926130
    Leo
    Staff
    Customer Support

    Hi there,

    You are referring to the page hero I assume?

    Dispatch is using this CSS:

    .page-hero.overlay {
        -webkit-box-shadow: inset 0px -180px 83px -15px rgba(0, 0, 0, 0.75);
        box-shadow: inset 0px -180px 83px -15px rgba(0, 0, 0, 0.75);
    }

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

    Make sure you add overlay as a custom CSS class for the page hero:
    https://docs.generatepress.com/article/header-element-overview/#element-classes

    Let me know ๐Ÿ™‚

    #926474
    Jagdish

    Thank you Leo. That was perfect.

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