Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #397325

    Hello Support,
    i would like to show the layerslider in the head.
    I have created custom action to which i assigned the widget.

    add_action( ‘ava_main_header’, ‘avia_add_to_header’ );
    function avia_add_to_header() {
    echo do_shortcode(‘[av_sidebar widget_area="header"]‘);
    }

    Anyway this widget is shown only on pages where also layerslider in the mainbody.
    Any other widget is shown correctly on the page.

    Could you plaese help me with that?

    Thanks in advance
    mAqq

    #397706

    Hi mAqq!

    I don’t think the LayerSlider is going to be able to be placed in the header. If it’s possible it’s going to take a lot of time and code to pull that off and would have to be considered custom work.

    What I would do is set the header to be transparent and just add the LayerSlider in your page content so it displays beneath the header.

    Cheers!
    Elliott

    #397801

    ok. thanks. that is also an option. Anyway i though that you will may be help me with the insert of the layerslider php function into the header after the meta. would that be a way?
    mAqq

    #398328

    Hi!

    I don’t think it’s going to be possible. You can use the transparent header option though. It’s practically the same thing.

    Regards,
    Elliott

    • This reply was modified 9 years, 9 months ago by Elliott.
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.