I am using a grid row for an FAQ section of the site and added a background image using the following CSS.
#grid1 {
background-image: url(/wp-content/uploads/2022/04/DW_accordian-bkgd.jpg);
background-repeat: no-repeat;
background-size: cover;
background-position: top center;
}
With that code I am getting the background image to appear on the sides of the grid row but I need it to appear on the top and bottom as well.
https://nimb.ws/18bPxY
Any ideas on how to accomplish the layout shown in the private content?
Hi Tiffany,
Thanks for the screenshots. Could you post a link to where we can see the actual elements as well please?
Best regards,
Rikard
Please see link in private content
Hi,
Thanks for that. So you want to remove the white background? If so then try this CSS as well:
#grid1 .flex_cell {
background-color: transparent;
}
Best regards,
Rikard
No, per the screenshot the blue background is supposed to show at the top and bottom as well as on the sides of the white area. I wish a grid could go in a color section, I know that would work perfect!
Hi tiffanytnttobol,
Please try to add this CSS code:
.home #grid1 {
padding: 80px 0;
}
The 80px value is top and bottom padding, just adjust it as you see fit (the default value is 0).
Hope this helps.
Best regards,
Nikko
Genius! Thank you very much!
Hi,
Glad Nikko was able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.
Best regards,
Mike