Streaming live at 10am (PST)

Linking to section - no space between nav+section?


#1

Hello,

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: https://preview.webflow.com/preview/villaexample?preview=5af92eb23df9bd0825b3d8eedd0295b8
(how to access public share link)


#2

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

hope this helps :slight_smile:


#3

Perfect Nelson!

Doffs cap

Many thanks
Stu


#4

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