Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #679096

    Hello folks,

    I’m looking for a meny solution where i can place the main menu under the first element, i.e full slider, or color section. Once this section has been scrolled down, the same menu shall appear on top. I found this kind of menu behavior here: http://www.bravallafestival.se/

    Do someone have a solution for this in enfold? :)

    Thanks in advance

    / J

    #680491

    Hi jockejansson!

    Thank you for using Enfold.

    You have to insert the first element in the header.php file manually. Place the markup above this code:

    	<?php 
    	if(!$blank) //blank templates dont display header nor footer
    	{ 
    		 //fetch the template file that holds the main menu, located in includes/helper-menu-main.php
             get_template_part( 'includes/helper', 'main-menu' );
    
    	} ?>

    If you want to use a shortcode, this function should help. https://developer.wordpress.org/reference/functions/do_shortcode/

    Cheers!
    Ismael

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