Thanks Richie. It worked but it is transparent and sometimes going behind the texts and ads while scrolling. I will not make it floating.
I am marking this post resolved.
Thanks for the reply. It worked fine with the top nav. Just one more question, is it possible to make it float? Or should I open a new thread with this question?