Fixed top of template with no scroll

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 Jun 30, 2015 5:51 pm
Reply with quote
Report this post
Have been searching for hours and cannot find the small code I need.
I have seen it before and I know there is only a small code I need to put into the override css file.

I want the top 300 pix to not move when I scroll down the article. Then I will see the logo and the menu all the time.

Can you please help me with the code!
User avatar
Expert Boarder

GK User
Tue Jun 30, 2015 7:01 pm
Reply with quote
Report this post
Which template?
Could you please post an url to your site?
User avatar
Moderator

GK User
Tue Jun 30, 2015 8:31 pm
Reply with quote
Report this post
User avatar
Expert Boarder

GK User
Mon Jul 06, 2015 4:45 pm
Reply with quote
Report this post
I'm moving the topic to correct subforum...
User avatar
Moderator

GK User
Mon Jul 06, 2015 4:46 pm
Reply with quote
Report this post
Please edit: /templates/gk_bikestore/css/override.css and add at its end:
Code: Select all
#gkPageTop {position: relative;}
#gkPageWrap {padding-top: 0px;}

Remember to enable "CSS override" in template settings - advanced section.
User avatar
Moderator

GK User
Tue Jul 07, 2015 6:00 pm
Reply with quote
Report this post
Thank you very much
I understand that this will work on all GK templates and that the 0px is set for the number of pixels from top I will freeze
User avatar
Expert Boarder

GK User
Wed Jul 08, 2015 4:04 pm
Reply with quote
Report this post
No, this is specific for this particular site.
User avatar
Moderator


Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.