Support » Plugin: WP FullPage » Possible to hide navigation for 1st slide

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Julien Zerbib

    (@julien-zerbib)

    Hi,

    Could you provide a link so I can tell you how ?

    Cheers,

    Julien

    Hello,
    Thanks for replying back. I am doing it on localhost so didn’t updated it yet. But, yet couldn’t find a solution for hiding the navigation for 1st slide. I didn’t changed any code. So possible, to share any idea.

    Thank you 🙂

    Plugin Author Julien Zerbib

    (@julien-zerbib)

    Hi !

    You can simply do it adding some #wpfp-menu > li:nth-child(1) { display: none; } in your theme css 🙂

    Regards,

    Julien

    Thank you for quick reply. Well I did it already which hide the display of the 1st slide navigation. But, what i am trying to do is for the 1st slide the navigation full navigation will be hidden. When it slide to 2nd slide the navigation will show.

    The navigation starts from section tried may things but not make it work.

    example:
    Section 1 – no slide
    Section 2 > slide 1 [Hide navigation] > slide 2 [show navigation]
    section 3 – no slide
    section 4 > slide 1 [hide navigation] > slide 2 [show navigation] > slide 3 [ show navigation

    hope I am able to make you understand.

    Plugin Author Julien Zerbib

    (@julien-zerbib)

    Hi !

    To achieve that, you can, in your page / fullpage, under WP Fullpage Options / Events / After Slide Load, enter something like that :

    fullpageAfterSlideLoad( anchorLink, index, slideAnchor, slideIndex );
    if(slideIndex === 0) { $( '#wpfp-menu' ).hide( 'fast' ) }
    else { $( '#wpfp-menu' ).show( 'fast' ) }

    Under After Load, do something like that :

    fullpageAfterLoad( anchorLink, index );
    if(index === 1 || index === 3) { $( '#wpfp-menu' ).show( 'fast' ) }
    else { $( '#wpfp-menu' ).hide( 'fast' ) }

    Regards,

    Julien

    thanks Julien Zerbib really helped a lot and fixed the problem but if i scroll down i mean to the next sector and comes back to the slide again the menu disappear completely.

    Plugin Author Julien Zerbib

    (@julien-zerbib)

    Hi !

    It could help if I saw it live… 🙂

    Regards,

    Julien

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Possible to hide navigation for 1st slide’ is closed to new replies.