Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #284183

    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.

    • This topic was modified 10 years, 6 months ago by yes9310.
    #285104

    Hi yes9310!

    1) Yes, I strongly recommend to use a child theme: http://kriesi.at/documentation/enfold/using-a-child-theme/

    2) Applying a custom background color to all text blocks, etc. probably won’t look good. I recommend to insert a custom css class into the Custom Css Class field (i.e. “my_custom_bg_color” without the “” quotes) and then use this code (insert it into the quick css field or child theme style.css):

    
    #top #wrap_all .my_custom_bg_color{
    background-color: #333;
    }
    

    to apply a custom bg color to the elements with the class “my_custom_bg_color”. Obviously you can change the color value ;)

    Best regards,
    Peter

    #285809
    This reply has been marked as private.
Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Change background color content elements’ is closed to new replies.