Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #739336

    Hello community :)
    I would like hide Logo/Menu –> header on the menu left theme when you are on home and it’s appears when you scroll down.
    I found the opposite,

    function add_hide_header(){
    ?>
    <script>
    jQuery(window).scroll(function(){
    if(jQuery(this).scrollTop() > 200) jQuery(‘#header_main’).fadeOut(‘slow’);
    if(jQuery(this).scrollTop() < 200) jQuery(‘#header_main’).fadeIn(‘slow’);
    });
    </script>
    <?php
    }
    add_action(‘wp_footer’, ‘add_hide_header’);

    it’s work if i reverse .fadeOut by .fadeIn but we can still see the menu when the home page come.

    Can you help me please :) Thks

    #740822

    Hey bout1,

    Please refer to this post – http://kriesi.at/documentation/enfold/portfolio-item/intro-to-the-header-configurator/
    You can choose to display header when scrolled down as this example – http://kriesi.at/themes/enfold-one-page-portfolio/

    Best regards,
    Yigit

    #740828

    Hey Yigit,
    Thanks for your answer but i would this result with this theme http://kriesi.at/themedemo/?theme=enfold-overview –> Enfold photography portfolio :)

    Best THXS

    #740885

    Hi!

    The THeme is the same, it should work with any of the demos.
    Can you show us your web site please?

    Best regards,
    Basilis

    #741346

    http://www.silentbutawake.com/
    when i start to scroll the menu disappear but no when i load or reloaded the page.

    Thx U very much :)

    #741374

    Hey!

    Please add following code to Quick CSS in Enfold theme options under General Styling tab

    .home #header { display: none; }

    and then use the code as following in functions.php file

    function add_hide_header(){
    ?>
    <script>
    jQuery(window).scroll(function(){
    if(jQuery(this).scrollTop() > 200) jQuery('.home #header').fadeIn('slow');
    });
    </script>
    <?php
    }
    add_action('wp_footer', 'add_hide_header');

    Best regards,
    Yigit

    #741381

    Its work !!! Thanks a lot, you rock :)

    #741384

    Hi!

    You are welcome!

    For your information, you can take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/
    And if there are features that you wish Enfold had, you can request them and vote the requested ones here – https://kriesi.at/support/enfold-feature-requests/
    For any other questions or issues, feel free to post them here on the forum and we will gladly try to help you :)

    Best regards,
    Yigit

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Hide Logo/Menu –> header (left theme) when you are on home’ is closed to new replies.