Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #346801

    I tried to follow the other thread about adding: add_theme_support(‘avia_template_builder_custom_css’);
    to the functions.php and then to edit a style but I do not see it in either text blocks as an option or in Layout elements.

    I just want to add a 1 pixel border to my layout elements on the page below. Also, if the above code added to the functions.php page did work, would it be overwritten on next theme autoupdate? Just curious why this function is not already in the theme.

    Many thanks!

    #347153

    Hey yes9310!

    Do you mind creating a temporary admin login and posting it here privately?
    Yes it would be overwritten but you can use a child theme to avoid that – http://kriesi.at/documentation/enfold/portfolio-item/create-a-child-theme/

    Best regards,
    Yigit

    #349014
    This reply has been marked as private.
    #349398

    Hi!

    Code is working fine it is enabling custom CSS field. Please add following code to Quick CSS in Enfold theme options under General Styling tab

    .avia_textblock.my_class {
    border: 1px solid #e2e2e2;
    padding: 10px;
    }

    Regards,
    Yigit

    #349568

    Hi Yigit,
    Thanks. I tried it and added “avia_textblock my_class” to all the text blocks and Special Heading boxes. It works on all except for the top Special Heading text disappears that says: “Select A Website Package”
    See http://enigmaimage.com/website-packages/

    Addeed to Quick CSS box
    .avia_textblock.my_class {
    border: 1px solid #e2e2e2;
    padding: 10px;
    }

    • This reply was modified 9 years, 4 months ago by yes9310.
    #349576

    Hey!

    Sorry for the confusion but custom class should be given like this – http://i.imgur.com/qRMQnWX.png
    Also there was a missing curly bracket in Quick CSS field, i closed it. Please review your website now

    Best regards,
    Yigit

    #349618
    This reply has been marked as private.
Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Adding border to Layout Elements in Advanced Layout Builder Mode’ is closed to new replies.