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

    Dear support, I have a couple of problems with my Enfold child theme, I use enfold for every site I make for my clients, but this is the first time i use a child theme, and I would like to know what is going wrong.

    1. under the menu appearance, the editor section to edit php files disappears.
    2. I’m adding the following code to enfold child/function.php :
    add_action( ‘ava_after_main_menu’, ‘enfold_customization_header_widget_area’ );
    function enfold_customization_header_widget_area() {
    dynamic_sidebar( ‘header’ );
    }

    But the header widget area doesn’t show in the backend, i would like to put an offer banner in the header.
    Can you help me solve it?
    thanks

    #1427129

    2) Under Widgets – did you create a widget area : header ?
    Your code alone is not enough, the snippet only assigns the widget area position in the DOM.

    1) I don’t think the fact that a child theme is used here has anything to do with it. There can be many reasons. It starts with the hoster, or certain htaccess settings could also be responsible. Some security plugins can also be a reason.

    PS : how was the child theme created? Is it the one provided by Enfold – or a manually created version?

    #1427146

    Hi,

    Please refer to this: https://kriesi.at/documentation/enfold/header/#adding-a-header-widget-area

    Thanks @guenni007 for helping out :-)

    Best regards,
    Rikard

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