Tagged: 

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #786292

    I’m working on a website and i want the header to be sticky on top when we land on the page.
    now while landing to the page the header is not visible, only when scrolling down the header appears.
    need a fix.

    thanks

    #786296

    i think you are talking not about a bug but about one features of enfold.
    the header behavior can be set to that what you described. Did you install your page over a demo import. Because on default this is not the standard behavior on headers.
    But on each page/post – you can set this feature – look to the right side of your Editor Page there are different Input Fields. The one we are interesting in is layout: on bottom you find the features

    #786301

    by the way – if you have a big site and many pages to come – you can set those layout default values by adding some snippets to functions.php child-theme:

    add_action( 'after_setup_theme', 'ava_enfold_builder_layout_mod' );
    function ava_enfold_builder_layout_mod(){
    	add_filter('avf_builder_elements', 'avf_enfold_builder_layout_settings_mod');
    }
    
    function avf_enfold_builder_layout_settings_mod($elements)
    {
    	$counter = 0;
        foreach($elements as $element)
        {
    		// Layout > Header visibility and transparency
    		if($element['id'] == 'header_transparency')  {
    			/**
    			 * Available Options
    			 * No transparency =
    			 * Transparent Header = 'header_transparent'
    			 * Transparent Header with border = 'header_transparent header_with_border'
    			 * Transparent & Glassy Header = 'header_transparent header_glassy '
    			 * Header is invisible and appears once the users scrolls down = 'header_transparent header_scrolldown '
    			 * Hide Header on this page = 'header_transparent header_hidden '
    			**/
                $elements[$counter]['std'] = 'header_transparent header_scrolldown ';
            }
            $counter++;
        }
    	return $elements;
    }
    #786308

    thank you for the reply, and yes i didn’t notice that..
    thanks alot

    #786528

    Hi,


    @Guenni007
    thank you :)


    @JefeTechnologies
    did you get it working for you or you need more help with that?

    If you need further assistance please let us know.
    Best regards,
    Victoria

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