We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28456
    • 83 Posts
    Hello,

    I'am developing a onepage website and on the root domain(home button) there is a problem with whitespace under the menu and above the picture.

    For example go to www.hetsoestererf.nl and there you see the white space under the menu items.

    If you click the home button the url is pointing the the first section https://www.hetsoestererf.nl/#home and then the page shows correct. Logical for me. So the #home after the url is correct.

    The first menu item "home" contains the "active" class but here something goes wrong. See the links and screenshots for example's

    Can someone help me to fix this problem?

    Regards
    Stefan [ed. note: stefonline last edited this post 8 years, 11 months ago.]
      • 17301
      • 932 Posts
      It's a CSS problem.

      You need to remove these properties from your sheet.
      .g-pt-170--lg {
          padding-top: 12.14286rem !important;
      }
      .g-pt-135--md {
          padding-top: 9.64286rem !important;
      }
      .g-pt-130 {
          padding-top: 9.28571rem !important;
      }
      .g-pt-135--md {
          padding-top: 9.64286rem !important;
      }
      .g-pt-130 {
          padding-top: 9.28571rem !important;
      }


      The reason why the #home works is because it automatically scrolls and places you to that section, but of course you can still scroll up to reveal the space wink
        ■ email: [email protected] | ■ website: https://alienbuild.uk

        The greatest compliment you can give back to us, is to spend a few seconds leaving a rating at our trustpilot: https://uk.trustpilot.com/review/alienbuild.uk about the service we provided. We always drop mention of services offered by businesses we've worked with in the past to those of interest.
        • 28456
        • 83 Posts
        @LK Thanks!!!