Jump to content


Photo
- - - - -

secondary navbar styled like scrollspy


  • Please log in to reply
1 reply to this topic

#1 milancole

milancole

    Newbie

  • Members
  • 1 posts
  • Country: Country Flag

Posted 29 March 2013 - 12:57 AM

Hi. I'd like to know if there is a simple way to style a secondary navbar with the colors and format that the scrollspy has when it is full width (after you scroll down past it)?



#2 James B

James B

    Advocate

  • Members

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

Posted 29 March 2013 - 01:46 AM

Hi there,

 

The only way I can think to do this would be using css. If you put the scrollbar active on your site you'll be able to inspect the css using firebug or chrome dev tools, you can make a note of the code used for the gradients and dividers etc. Then you can apply this css to the containers of the nav you're looking to style.

 

Otherwise you could create an image gradient and apply that to the background of the nav using css.