Viewing 6 posts - 1 through 6 (of 6 total)
  • Posted in: Dante
  • #101326
    ginhim
    Member
    Post count: 40

    Hey there,

    Iโ€™d like to make the links in the header navigation scroll to sections on the homepage, so that it is a one page site, like this: http://munmarket.premiumcoding.com/
    What is the code to do that? And where do you put it?

    Thanks!

    #101336
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please read and follow this tutorial http://support.swiftideas.net/knowledgebase/how-to-create-a-one-page-site-using-the-one-page-navigation/.
    Thanks ๐Ÿ™‚
    With Best Regards
    Mohammad

    #110413
    ginhim
    Member
    Post count: 40

    Hi thanks for the tutorial, that worked, but how can I make the links in the header menu navigation scroll to each section? I emailed asking if this was possible before purchasing the theme.

    The side nav is very small and hard to use.

    If it isn’t possible to do this, I will have to purchase another theme. Is it possible to get a refund on this them if it isn’t possible to make the menu links scroll to each section? As I emailed before purchase.

    #110586
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please create header menu navigation links url with #contentBlockId.
    Example-: News menu link url will be #id_of_content_new.

    Hope you will understand.
    Thanks ๐Ÿ™‚
    With Best Regards
    Mohammad

    #119422
    ginhim
    Member
    Post count: 40

    Hi that works for the homepage, but it has created another problem.

    If you click onto a shop product and go to the product page, if you like on the links in the header menu they don’t work because they aren’t using a url just the hash id.

    How can I get this to work so that if you are on the homepage, its scrolls to each section but if you are on a shop product page, or cart page etc the links still work?

    It’s like there needs to be a field for a URL & Hash ID?

    #119630
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Unfortunately it’s not possible, the one page menu option is for strictly one page sites. So having product pages means that it is not one page, and unfortunately causes the problem with the nav links.

    You would either have to use the full links, which would break the smooth scroll, or you would have to use a normal menu

    – Kyle

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register