• Resolved daphy

    (@daphy)


    Hi Ben,
    I’m tring to have your magnificent theme into a basic “one page” theme for my site, but I have a problem: when I’m in the homepage (https://pixeo.it) and click in a menu item, I’m sent to the relative area in the homepage, as every “one page” themes are suppoesd to do. But, when I’m on a post page (for ex: https://pixeo.it/manichino-invisibile/) and click on a menu item, I’m not sent in the relative area in the homepage. Please, how can I overcome this problem?
    Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Theme Author Ben Sibley

    (@bensibley)

    Sure, I see what’s happening.

    The URLs, or “href” values, are currently pointing to an ID on the page, like this:

    #section_pagamenti

    If you’re on the homepage, this works because there is an element on that page with the ID “section_pagamenti”. However, if you’re on a post page, it will search for an element with that ID on the post page. Since it can’t find one, nothing happens.

    To fix this, you just need to add the homepage URL in first, like this:

    https://pixeo.it/#section_pagamenti

    With this link, no matter what page a visitor is on when they click the link, it will take them to that section on the homepage.

    Thread Starter daphy

    (@daphy)

    Works perfectly, thank you very much!
    Now, somehow the menu “chi siamo” is not working…in either ways (?)

    Thread Starter daphy

    (@daphy)

    Got it, it’s working now.
    Thanks

    Theme Author Ben Sibley

    (@bensibley)

    Great, no problem!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘"One page" version and menu problem’ is closed to new replies.