Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 2 of 2
  1. #1
    Junior Member
    Join Date
    Feb 2014
    Posts
    15
    Member #
    38570

    Sticky NavBar help!!

    Ok so i have been dealing with this sticky NavBar and it is working, but the problem im having is when you click a button to go to the link it is cutting off half of the content in the div! how can i fix this? I have tried to add padding and to change the width but nothing is working i need help please!!!

    I have included a notepad file with my code because i cannot upload on the server, i do apologize for any inconvenience this may cause!
    Attached Files Attached Files

  2.  

  3. #2
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Location
    Not from USA
    Posts
    14,483
    Member #
    425
    Liked
    2783 times
    Are you talking about clicking the links to various anchor points on your page?

    If so, it's doable, but it's not easy. Basically, what you need to do is something like this:
    Code:
    div#channels {
         position:  relative;
         top:  40px; 
    }
    Now, this will create some spacing issues, so you're going to have to play with it somewhat. One option is to create an empty div specifically for your anchor and use it to position your anchor.
    If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.

    If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.

    My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 05:50 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com