Home Forums WoodMart support forum Second Custom Pop-Up

Second Custom Pop-Up

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #95357

    loveinaboxro
    Participant

    I have the “Newsletter” pop-up, which can be open from the “Newsletter” button in the header and now I want the same thing for a second pop-up opening from a second button.

    I have searched the forum but I did not find what I wanted or the explanation was incomplete.

    What I did already and failed:

    I added the button in a secondary menu in header with link “#promo-popup-2″ and class”woodmart-open-popup”. I was expecting the html block “promo-popup-2” to show up but didn’t.

    What am I missing?

    Thank you,
    Adrian M.

    #95379

    loveinaboxro
    Participant

    Anyone?

    #95402

    Artem Temos
    Keymaster

    Hi,

    Could you please send us a link where you added this second button with the popup so we can check what step did you miss?

    Thank you

    #95522

    loveinaboxro
    Participant

    Sure

    #95552

    Artem Temos
    Keymaster

    Hi,

    Firstly, you need to add this pop up somewhere on your page. Try to add it using our popup WPBakery element somewhere in the footer and give it your ID. Then, the button in the header should be able to open this popup also.

    Regards

    #95647

    loveinaboxro
    Participant

    I figured it out. You cannot open any pop-up from a menu item because you cannot put the “woodmart-open-popup” class directly on the <a> tag. When you add the class for a menu, you place it on the <li> tag, not the “a” inside of it. I came up with a workaround by creating a text/html block instead of a menu and placed it in the header. Then I added two links with the class and the jump-link:

    <a title="" href="#"><i class="fa fa-life-ring"></i><span class="nav-link-text">NEWSLETTER</span></a>
    <a title="" href="#support"><i class="fa fa-life-ring"></i><span class="nav-link-text">SUPPORT</span></a>

    Maybe you guys could add at least one additional popup similar to the newsletter one. It would be alot easier to achieve this..

    Thank you.

    #95670

    Artem Temos
    Keymaster

    Yes, you are correct. We are glad that you sorted it out.

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