Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #284876

    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.

    #284889

    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

    #284911

    Thanks Josue,

    That worked but it cuts out the borders around the text and runs it right to the edge.

    #284912

    Can you post a link to the page you are trying this?

    Best regards,
    Josue

    #284916
    This reply has been marked as private.
    #284923

    Hey!

    Try adding this code to the Quick CSS:

    .custom-background{
        padding: 20px;
    }
    

    Cheers! 
    Josue

    #284951

    That did it! Thanks Josue!

    #285026

    You are welcome, always glad to help :)

    Regards,
    Josue

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.