Archived topic
Background color in heading keeps hiding behind the image
5 replies · Started by Jose on December 30, 2020
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)
Hi there,
can you share a link to your site so we can take a look.
Thanks for your quick reply.
I send you the link on private
Try adding this CSS:
.gb-grid-wrapper h2.gb-headline {
position: relative;
}
It worked. Thank you!
You're welcome