• Resolved jarvo1980

    (@jarvo1980)


    Hi,

    Got a really odd one, have added a nav at the top of an actual page as bullet points, these are the linked (anchored) to points on the page. All works well, EXCEPT, if you try to scroll up the page, it chops the top of the page and you can scroll up past the nav:

    Any ideas?

    TIA

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator keesiemeijer

    (@keesiemeijer)

    In your theme’s stylesheet style.css remove the overflow: hidden; declaration from the #wrapper rule set.

    change this:

    #wrapper {
    	border: 0px solid #000;
    	width: 960px;
    	margin-left: auto;
    	margin-right: auto;
    	overflow: hidden;
    	background:url(images/wrapper_bg.gif) repeat-y;
    }

    to this:

    #wrapper {
    	border: 0px solid #000;
    	width: 960px;
    	margin-left: auto;
    	margin-right: auto;
    	background:url(images/wrapper_bg.gif) repeat-y;
    }

    This may have other implications for the rest of your site. Test in all major browsers.

    Thread Starter jarvo1980

    (@jarvo1980)

    Thanks keesiemeijer, removing that line does fix the issue, however, it then causes an issue with the background image, in that it runs over the end of the footer and causes the page to extend.

    Hmmm…

    Moderator keesiemeijer

    (@keesiemeijer)

    try removing the third image in your footer <img src="http://www.referrals4you.co.uk/wp-content/themes/referrals4you/images/footer_end.jpg" width="99" height="125" />
    Why is it there?

    Thread Starter jarvo1980

    (@jarvo1980)

    Oddly removing the image worked. Why’s that? Sorry for the questions but your help is much appreciated!

    Moderator keesiemeijer

    (@keesiemeijer)

    Because the width of the three images combined is greater than the width of your theme, and it will place the third image on a new line

    Thread Starter jarvo1980

    (@jarvo1980)

    d’oh! Pretty obvious really 🙁 Sorry!

    Thanks for the help though, very much appreciated!

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Anchor Link Issue’ is closed to new replies.