Menu scroll to section

  • Author
    Posts
  • #45802

    Hi there,

    can this template act as a “single page website”. So when i click on a menu item it just scrolls to that section on homepage.

    Thanks in advance.

    Mario

    #45945
    Zed
    Cryout Creations mastermind

    Our themes are not designed to be used in that way, but if you add anchors into the page content you can then link to them by crafting the correct custom menu links: http://wpfaq.org/site/anchors/


    If you like our creations, help us share by rating them on WordPress.org.
    Please check the available documentation and search the forums before starting a topic.
    #51504

    Hi!

    We tried setting up the anchors with the custom links feature for the top menu, but we have the problem that all the links that anchor to a place in the same page get the class “current-menu-item” and “current_page_item”, so we happen to have two active (and thus highligthed) links on the menu at the same time (“INICIO” and “PORFOLIO”). Is there anywhere or a way in the code we can handle the state of the links so we can force only one active item at once?

    Thank you!

    Website: neofystudio.es

    #51886
    Zed
    Cryout Creations mastermind

    Those menu links technically point to the same page. There’s no way for WordPress to tell that you want one of them “current” but not the other.


    If you like our creations, help us share by rating them on WordPress.org.
    Please check the available documentation and search the forums before starting a topic.
Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Menu scroll to section’ is closed to new replies.