I am keeping global nav sticking to the top of the page by keeping ms-breadcrumb-top fixed to the top of the page and stretching across the browser using this css:
.ms-breadcrumb-top {
position: fixed;
top: 0px;
left: 0px:
width: 100% }
It works, but ms-designer-ribbon comes along with it when I scroll down the page.
I tried setting ms-designer-ribbon to position:absolute and z-index:-1, but that is probably not right as it doesn't work.
I want ms-designer-ribbon to not stay fixed with ms-breadcrumb-top.
The ultimate goal is to create a sticky / shrinking global nav (with some js later on) as I scroll down the page, but I just want the global nav to do it, not the ms-designer-ribbon.