Menu cover page when scroling

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
Wed Aug 12, 2015 1:12 pm
Reply with quote
Report this post
Can you please help me adding a menu height value to scrolling?
Menu height is now 125px on my page, and when I use scroling anchors some of the text or images are covered by menu. It is because it scrolls till top of the browser window instead bottom line of the menu.

Many thanks in advance for your help.
User avatar
Fresh Boarder

GK User
Wed Aug 12, 2015 3:13 pm
Reply with quote
Report this post
I've implemented this
Code: Select all
:target:before {
content:"";
display:block;
height:90px; /* fixed header height*/
margin:-90px 0 0; /* negative fixed header height */
}

and it fixed my problem but now page is scrolled till top of the browser window and without animation is corrected by this code which looks like hiccough :)
User avatar
Fresh Boarder

teitbite
Sat Aug 15, 2015 11:32 am
Reply with quote
Report this post
Could you please provide me with a URL to your website, either here or via PM (click the “Private Message” text underneath my avatar) so that I may analyze it? It is a lot easier for us to diagnose issues when we have a live site to examine.
User avatar
Moderator


cron