WordPress.org

Ready to get started?Download WordPress

Forums

how to make drop down menu link to specific parts of a page? (3 posts)

  1. eglass
    Member
    Posted 1 year ago #

    i'm trying to make items in my navigation dropdown menu link to specific sections of a single page. i see this on web sites all the time but i cannot figure out how to do it. currently i can only make the menu items link to new pages.

    i'm using a child theme based on the oxygen wordpress theme.

    thanks!

  2. Andrew Bartel
    Member
    Posted 1 year ago #

    http://www.w3schools.com/html/html_links.asp

    On page.php

    What you're linking from: <a href="page.php#foo">Click here to go to foo</a>

    What's you're linking to: Welcome to foo`

  3. Andrew Bartel
    Member
    Posted 1 year ago #

    Ooops screwed up my edit:

    What you're linking to: <a name="foo">Welcome to foo</a>

Topic Closed

This topic has been closed to new replies.

About this Topic