Jump to content


Photo
- - - - -

Only display the fixed navigation bar when main nav is of screen?


  • Please log in to reply
3 replies to this topic

#1 clinton4

clinton4

    Super Member

  • Members

  • 144 posts
  • Country: Country Flag

Posted 26 June 2013 - 07:24 PM

Hi,

 

I would like the fixed nav bar to only be visual when the main nav is out of screen, would this be possible?



#2 James B

James B

    Advocate

  • Members

  • 5126 posts
  • LocationSurrey - UK
  • Country: Country Flag

Posted 26 June 2013 - 09:25 PM

Hi there,

 

I'm not sure what you mean exactly, but you can use css to hide one depending on the page. So if ones on the page the other won't be displayed etc.

 

Or do you mean hide the fixed nav until the scrolling effect kicks in when the page moves down?



#3 clinton4

clinton4

    Super Member

  • Members

  • 144 posts
  • Country: Country Flag

Posted 26 June 2013 - 09:38 PM

Yes, i mean hide the fixed nav until the scrolling effect kicks in when the page moves down.

#4 James B

James B

    Advocate

  • Members

  • 5126 posts
  • LocationSurrey - UK
  • Country: Country Flag

Posted 26 June 2013 - 09:56 PM

Hi there,

 

No there no way to get that affect unfortunately using the fixed nav, that nav is set to the top of the screen. Unlike the scroll spy it doesn't use a js trigger to change the display as it scrolls down the page.