• Closed
  • April 23, 2015 at 12:32 am #16727

    Hello,

    I’m designing a one page website (http://proximusconsulting.com/). In the menu I have 7 items, the first 6 are sections in the main page, “Contact” is the only additional page that I have.

    Then for setting up the menu, I go to Appearance > Menus and use the custom links option to add the section link to my menu items (for example> URL: #AboutUs Navigation Label: About Us).

    The problem is that when I navigate away from the home page, to “Contact” page and try to go back to “About Us” the link is displayed as: http://proximusconsulting.com/Contact/#AboutUs when the correct path is: http://proximusconsulting.com/#AboutUs

    Now, I’ve also tried to put the whole path while setting up the menu in Appearance > Menus (for example> URL: http://proximusconsulting.com/#AboutUs Navigation Label: About Us) but this causes that the item in the menu appears as active, although the navigation works when I navigate away from the homepage to “Contact” page, it’s really confusing having all the first 6 items as active.

    Could you please tell me how to fix this?
    Best regards

    Roman
    Spectator
    Posts: 3147
    April 23, 2015 at 4:31 pm #16742

    well, the one page template is supposed to work without any inner pages, you could try a small hack yet, if you like it, insert all the one page stuff right in the contact page, disable the map on the contact page, remove the contact page from custom menu and add something like this on the contact page:

    [fullwidth menu_anchor="about" backgroundcolor="" backgroundimage="" backgroundrepeat="no-repeat" backgroundposition="left top" backgroundattachment="scroll" bordersize="0px" bordercolor="" borderstyle="solid" paddingtop="20px" paddingbottom="20px" class="" id=""]Your Content Goes Here[/fullwidth]

    [fullwidth menu_anchor="services" backgroundcolor="" backgroundimage="" backgroundrepeat="no-repeat" backgroundposition="left top" backgroundattachment="scroll" bordersize="0px" bordercolor="" borderstyle="solid" paddingtop="20px" paddingbottom="20px" class="" id=""]Your Content Goes Here[/fullwidth]

    [map address="New York" type="roadmap" map_style="default" overlay_color="" infobox="default" infobox_background_color="" infobox_text_color="" infobox_content="" icon="" width="100%" height="300px" zoom="14" scrollwheel="yes" scale="yes" zoom_pancontrol="yes" popup="yes" class="" id=""][/map]

    [fullwidth menu_anchor="contact" backgroundcolor="" backgroundimage="" backgroundrepeat="no-repeat" backgroundposition="left top" backgroundattachment="scroll" bordersize="0px" bordercolor="" borderstyle="solid" paddingtop="20px" paddingbottom="20px" class="" id=""][/fullwidth]

    it might work as one page with contact page on it 😉

    Marco Cobarrubias
    Spectator
    Posts: 6
    April 24, 2015 at 1:18 am #16768

    OK, thanks a lot for your help!

    Best regards