Fixed Header?

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Tue Sep 03, 2013 10:37 pm
Reply with quote
Report this post
Hi

Have been trying but without success... My css skills always fail me :huh:

http://milkfashions.com.au

Looking to lock the header position (logo/menu/search) and have the main content slide under it when a user scrolls down the page.

How would it be best to achieve this?
User avatar
Expert Boarder

GK User
Wed Sep 04, 2013 7:22 am
Reply with quote
Report this post
I'm 99% sure, it cannot be done with only css, as You need one aditional container, to center elements back, when You set position:fixed to #gkHeaderNav. So I would suggest to edit default.php inside template/layouts folder and add this additional element inside.
Also after fixing header, You need to set margin top on #gkPageContent to the same value as header heigh.

If You will still have problems, please write back.
User avatar
Moderator


cron