Problem with Menu Item

Support Forums Cian – WP Theme Problem with Menu Item

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #5193
    Sumit Rathore
    Participant

    Hi,

    I have a added a new page called “FAQ” on my site. I have added the link of this page, as a menu item in nav bar.
    The url is :- http://mysite/faq

    I have also placed this link in footer.

    Now, When I click on FAQ from the menu bar, NOTHING happens. But when I click it from footer, the page opens and displays correctly. So there is no problem with teh page.
    I think the jquery is blocking the default behaviour of tag.

    Do I need to make the change somewhere ?

    #5199
    CreaboxThemes
    Keymaster

    Hi Sumit,

    if you want to add an external link to the menu, you have to follow the next steps:

    1. Create a custom link in the page Appeareance > Menu
    2. Load the website and copy the ID of the menu link. You have to read the source code to get it:
    3. Go to the page Appearance > Theme Options > Custom Scripts, and type the next code in the option Custom JS. With this code you will disable the function ScrollTo for this link:
      jQuery("#menu-id").removeClass("scrollTo");

    This question is explained in the documentation.

    Regards

    #5202
    Sumit Rathore
    Participant

    Add this option. But still nothing happens, which I clik on faq link from menu item.

    jQuery(“#menu-item-329”).removeClass(“scrollTo”);
    jQuery(“#menu-item-353”).removeClass(“scrollTo”);

    Anything ????

    #5203
    Sumit Rathore
    Participant

    knock know..
    Just an update.. I have even tried with single quotes

    jQuery(‘#menu-item-329’).removeClass(‘scrollTo’);
    jQuery(‘#menu-item-353’).removeClass(‘scrollTo’);

    Still it dosent works. Nothing happens on clicking on those links.
    Any udpates ?

    #5206
    CreaboxThemes
    Keymaster

    Hi,

    it is really strange because your code is correct. I don’t know how to help you if I can’t check your source code.

    Regards

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.