]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Make vertical menu sticky 7635/head
authorJoy Chen <joythewizard@gmail.com>
Sun, 20 Dec 2015 03:46:19 +0000 (21:46 -0600)
committerJoy Chen <joythewizard@gmail.com>
Sun, 20 Dec 2015 03:46:19 +0000 (21:46 -0600)
Add sticky class to make vertical menu stick to top

docs/pages/magellan.md

index c29fcf3cbfc89cb8d2dde207a62650d47aff6bf0..aff2bb4993b345d7a941a363f049ff97217657d2 100644 (file)
@@ -40,7 +40,7 @@ You can use Magellan with our Sticky plugin to create a persistent navigation he
 
 ```html
 <div class="large-3 columns" data-sticky-container>
-  <nav class="columns" data-sticky data-anchor="exampleId" data-sticky-on="large">
+  <nav class="columns sticky" data-sticky data-anchor="exampleId" data-sticky-on="large">
     <ul class="vertical menu" data-magellan>
       <li><a href="#first">First Arrival</a></li>
       <li><a href="#second">Second Arrival</a></li>