Ho to add a Soliloquy Slider above the header

Hello there,

This is the first time I’m using X theme to develop a client website.
I have literally been searching for over an hour trying to find how to insert a Soliloquy slider above the header…I did find a post for using the Revolution slider which provided options to position the slider above the header but it appears these options don’t exist for Soliloquy?

I can add the slider into a page successfully but need to have the slider above the header with the navigation above the slider as well.

Please help…

Best regards
Greg

Hi There,

Please install and activate the child theme first: https://theme.co/apex/forum/t/setup-how-to-setup-child-themes/57.

After that add this custom code under functions.php file locates in your child theme:

add_action( 'x_before_view_global__header', 'x_print_slider' );
function x_print_slider(){
	echo do_shortcode( '[your-soliloquy -shortcode]' );
}

Don’t forget to replace the [your-soliloquy -shortcode] shortcode with yours.

Let us know how it goes!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.