Site logo

Archived topic

Colour box under image

11 replies · Started by DAVID on July 31, 2021

Viewing posts 1–12 of 12

Hello,

is it possible to add colour to the bottom of a image in generate blocks? i know you can do it with elementor but so far i have managed to do what i ned with generatepress and generate blocks

i want something similar to this https://jw-g.co.uk/

Hi David,

Yes, you can achieve this with GB, please reffer to the structure here:
https://www.screencast.com/t/dLYZZOxDsH7

1.Set background image for the containers, give them a min-height, set its vertical alignment to bottom.

2.Add background color for the headline blocks.

You might need some CSS to achieve the hover effect later.

Let me know :)

Thanks that worked, any idea what the CSS would be :)

That should be ok now. Cache is great unless you want a updated version ha

Is it that different, I have 4 in a row this has 3 ? I might be missing something ,☹️

Try this CSS:

.gb-grid-wrapper.gb-grid-wrapper-29888b2b > .gb-grid-column > .gb-container:hover .gb-headline {
    padding-bottom: 30px;
    transition: all 0.2s ease;
}

Thank you so much, you have saved me going over to the dark side with elementor 😁

Haha no problem :)

Glad to help!

This archived topic is closed to new replies.