Okay
  Public Ticket #1724218
Menu anchor
Closed

Comments

  • Charlotte Jeuniaux started the conversation

    Hello,

    I would like the items in my menu to refer to different sections of my home page. I have already given "classes" to each section and modified the menu accordingly, but it does not work. Can you tell me how I can do it?

    In addition, I would add "breadcrumbs" to the FAQ and shop pages, so that we can easily return to the home page (people do not understand that you have to press the menu). Can you tell me how I can do it?

    Thank you!

    Charlotte Jeuniaux

  •  1,627
    Andrey replied

    Hello, Dear Charlotte Jeuniaux!

    Please try this solution: 

    1. Install this plugin: https://wordpress.org/plugins/page-scroll-to-id/
    2. Insert in button or menu item the following shortcode: http://yourdoamin.com/#section-1
    3. Insert in text element via Page Builder the following anchor: [ps2id id='section-1' target="/]
    4. Every #section-x in menu item or button appropriates to the necessary id='section-x', where "x" is the index number.
    5. Additionally you may install this plugin: https://wordpress.org/plugins/easy-smooth-scroll-links/ It adds smooth scrolling from button to necessary section/part of website.

    Then clear cache in your browser and check the result. 

    The breadcrumbs are already present for SHOP page: http://nimb.ws/nxAmsM

    As we see the FAQ menu item also directs to anchor, do you really need breadcrumbs for them?

    We hope our assistance is helpful for you.


  • Thomas replied

    I am using the Hi5Clive theme and within the menu I can link to the anchor. It works but it doesn't close the menu. Do you have any suggestions?

  •  1,627
    Andrey replied

    Hello, Dear Thomas!

    Please submit your personal private ticket about your issue and we will assist you.

    Best Regards!