Google+ Userstyle


/ Published in: CSS
Save to your folder(s)

Keeps the navbar fixed


Copy this code and paste it in your HTML
  1. /* Userstyle for Google+ to keep Navbars from scrolling with content */
  2.  
  3. div#gb{
  4. position: fixed;
  5. width: 100%;
  6. }
  7.  
  8. div.a-U-T{
  9. position: fixed !important;
  10. top: 29px;
  11. height: 60px;
  12. z-index: 100 !important;
  13. }
  14.  
  15. div#content{
  16. top: 90px;
  17. }
  18.  
  19. div.zg{
  20. z-index: 4000 !important; /* make sure image browser is always in fg */
  21. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.