Tagged: background color, columns
Hello,
I’m trying to add a background color to a single column on a page.
After searching through the forums it looks like I should be using this code:
.page-id-2897 .flex_column .av_one_forth .first {
background-color:red;
}
But it’s not working. Am I missing a class?
Thank you,
Holly
Hi Holly!
This will do it:
.page-id-2897 .flex_column.av_one_fourth {
background-color: red !important;
padding: 20px; /* added padding too */
}
Regards,
Josue
Hello Josue,
I tried it as you have the code above (pasted into my quick CSS) , as well as removing the .page-id-2897 class to see if that made a difference, and neither shows the new background color.
Does it matter that the 1/4 column has a widget content area inside?
Thank you again!!
Holly
Oh thank you Josue!!!!
I just implemented the CDN, totally forgot that it needs to be purged. Thanks again!!!!
You are welcome, always glad to help :)
Regards,
Josue