Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Anchor tag not working correctly

Featured Replies

Hello all.

 

I am currently working on a site and I am having problems in getting the ancor tag to work correctly.

 

I have set up the nav and what I want to happen is when a link is clicked the page will jump to the header of that section. I have it working correctly on the About Me section, but the other section that I have been working on called Services does not seem to work.

 

The page jumps to the Services section, but not to the header called "Things I Can Do". It jumps passed the header.

 

You can view what I have done so far here.

 

Can anyone help with how to get the page to jump to the correct header?

 

Thanks.

Had a quick look

 

try this in your css add position:fixed to header and padding:130px 0 0 to content

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.