Site logo

Archived topic

Add background color behind 3 consecutive blocks

3 replies · Started by Linda on July 12, 2019

Viewing posts 1–4 of 4

Hi Support,

Is there a way to add a background color behind 3 consecutive blocks?

I'm trying to highlight a section of our home page which includes a Title block, a spacer block, a columns block and a final title block. I added CSS to all 3, but ended up with bands of white between each. I saved it on the home page so you can see my result.
My Result

Thanks for your help!

Linda

Hi there,

Edit this CSS:

.bg-green {
    background-color: #99d93f;
}

to this:

.bg-green {
    background-color: #99d93f;
    margin-bottom: 0 !important;
}

Let me know :)

Leo,

You are a technological (and CSS) genius!

Thank you. It worked perfectly ... and I always love adding the word important to anything! :-)

Gratefully,

Linda

!important is not needed most of the time. But sometimes it's ok.

Will come with experience :)

This archived topic is closed to new replies.