Site logo

[Resolved] Background color in heading keeps hiding behind the image

Home Forums Support [Resolved] Background color in heading keeps hiding behind the image

Home Forums Support Background color in heading keeps hiding behind the image

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1599338
    Jose

    I want to add a h2 heading with background color over an image, but just the text stays over the image, the background color keeps hiding behind the image.

    How can I keep both the h2 and the background color over the image?

    (I am using a CSS margin-top negative to place both of them in place)

    #1599397
    David
    Staff
    Customer Support

    Hi there,

    can you share a link to your site so we can take a look.

    #1599409
    Jose

    Thanks for your quick reply.
    I send you the link on private

    #1599613
    David
    Staff
    Customer Support

    Try adding this CSS:

    .gb-grid-wrapper h2.gb-headline {
        position: relative;
    }
    #1599648
    Jose

    It worked. Thank you!

    #1599657
    David
    Staff
    Customer Support

    You’re welcome

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