Hi,
1. I enabled the custom class field for Advanced Layout Builder adding this line to the functions.php. I see the field now. Do I now need to create a child theme so it doesn’t get overwritten on Enfold updates?
add_theme_support(‘avia_template_builder_custom_css’);
2. I would like to be able to change the background color of mainly 3 content elements, the Special Heading, Text Block and Widget block. Can you tell me what I would need to type into the new Custom Css Class and then into the Quick CSS to do this? Shouldn’t all the elements already have a background color selector or image upload function? Love the Advanced editor. Also need a vertical Separator/Whitespace element.
Hey!
1. Yes it is always recommended to have a child theme: http://kriesi.at/documentation/enfold/using-a-child-theme/
2. You could set a class of “custom-background” to those elements and then in Quick CSS:
.custom-background{
background: red !important;
}
Best regards,
Josue
Thanks Josue,
That worked but it cuts out the borders around the text and runs it right to the edge.
Can you post a link to the page you are trying this?
Best regards,
Josue
Hey!
Try adding this code to the Quick CSS:
.custom-background{
padding: 20px;
}
Cheers!
Josue
That did it! Thanks Josue!
You are welcome, always glad to help :)
Regards,
Josue