How to make custom nav-pills like SitePoint

This might be it