Home Forums Basel – Premium Template How to add custom link with JS on header menu under dropdown?

This topic contains 5 replies, has 2 voices, and was last updated by Elise Noromit Elise Noromit 1 week, 4 days ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #181916

    Optilink
    Customer

    Hi

    I am trying to add an html/JS button in the header menu under one of the dropdowns but whenever I click on the relevant link, it just refreshes the home page instead of opening the pop up it’s supposed to.

    I want to add this within the dropdown as indicated in the image attached.

    Can’t I use the WoodMart header builder on Basel?

    I would appreciate your help!

    Thanks

    Private Content Hidden
    Attachments:
    You must be logged in to view attached files.
    #182021

    Hello,

    You just add a custom link and insert your URL inside, then you need to add two custom links as sub-menu items to this first custom link. You will get your custom links with the drop-down without any additional JS. Then if you need help, contact I will help to customize the styles.

    Check Creating Multi-level Menus here https://codex.wordpress.org/WordPress_Menu_User_Guide

    Best Regards

    #182036

    Optilink
    Customer

    Hi Elise

    Thank you for the prompt response.

    Sorry I should have said that the code we have comes from a third party and it’s the pop up of their widget that we wish to include on our site, that’s why we need to input the JS somewhere.

    Thanks

    Private Content Hidden
    #182068

    Optilink
    Customer

    See full code below.

    Private Content Hidden
    #182069

    Optilink
    Customer

    Sorry I am trying to copy and paste the entire code but it won’t allow me.

    #182087

    Hello,

    What should happen when a user clicks ORDER NOW?

    Best Regards

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

You must be logged in to reply to this topic.