1. How to make navigation bar sticky
On your CSS code find the word " #navigation" . And add the following three marked lines. the numeric values may vary upon your choice. #navigation{ position:fixed; z-index: 10; width:100%; height:40px; display:block; padding:0; margin:0 0 22px 0; border-bottom:2px solid #222222; background:#ffffff; }more technique here
0 comments:
Post a Comment