Streaming live at 10am (PST)

Linking to section - no space between nav+section?


I am working on a 1 page scroller, and I’d like to add a small amount of space between the navbar and each section it links to when a nav link is clicked. I’ve tried margins and paddings to no avail, surely there is an easy way though?

For example, click ‘Experience’ on my site, and the section comes up flush with the navbar. I just want a little spacing - shown here with the red arrow:

@PixelGeek @vincent @Waldo

Many thanks

Here is my public share link:
(how to access public share link)

try removing the top margin of the inner container, then add a top padding for the outer section:

hope this helps :slight_smile:

1 Like

Perfect Nelson!

Doffs cap

Many thanks

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.