Tagged: header
-
AuthorPosts
-
May 2, 2017 at 12:08 pm #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
- This topic was modified 7 years, 7 months ago by JefeTechnologies.
May 2, 2017 at 12:20 pm #786296i 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 featuresMay 2, 2017 at 12:35 pm #786301by 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; }
May 2, 2017 at 12:54 pm #786308thank you for the reply, and yes i didn’t notice that..
thanks alotMay 2, 2017 at 4:44 pm #786528Hi,
@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 -
AuthorPosts
- You must be logged in to reply to this topic.