WordPress.org

Ready to get started?Download WordPress

Forums

Easy Modal
[resolved] Open modal form from custom menu (12 posts)

  1. cblossants@gmail.com
    Member
    Posted 2 years ago #

    Hi, How can I input the easy modal class (to open a contact form) into a custom menu - thanks

    http://wordpress.org/extend/plugins/easy-modal/

  2. cblossants@gmail.com
    Member
    Posted 2 years ago #

    OK, after playing around a bit, the following seems to work in the custom menu:
    URL: http://#
    Label: Contact Me
    CSS Class: class eModal eModal-2

    Hopefully this is helpful for more people

  3. SethO
    Member
    Posted 1 year ago #

    I still can't figure out how you did this or what these means. I am needing my modal to open when someone clicks on a menu in my menu bar. But I can't figure out how you did it.

    Could you please explain?

  4. cblossants@gmail.com
    Member
    Posted 1 year ago #

    Hi, in the custom menu item which you want to link to your modal form, put the parameters shown in my previous post

  5. SethO
    Member
    Posted 1 year ago #

    Hey there.. Well I have tried that but I do not see an option for CSS Class:

    And instead of label it says Title.

  6. cblossants@gmail.com
    Member
    Posted 1 year ago #

    Hi, maybe it's a version thing - I am on WP 3.4.1

  7. storeofshop
    Member
    Posted 1 year ago #

    Hi cblossants@gmail.com,
    I have the same problem as Setho. I am on WP 3.4.2. Have you an addition plugin which transforms the custom menu? maybe your theme?
    Thanks for your answer

  8. cblossants@gmail.com
    Member
    Posted 1 year ago #

    Hi, on the menu page make sure that you choose to show CSS classes from the screen options at the top - hope this helps

  9. danieliser
    Member
    Plugin Author

    Posted 1 year ago #

    Sorry for the delay. But cblossants is correct. On the menu editor there is a screen options button near top right. Click that and check css classes box to add that field to the menu editor. Then add the emodal classes needed.

  10. 52PlusYou
    Member
    Posted 1 year ago #

    Hi, I wonder if I can get some help.
    I am also trying to have eModal load a form of mine from my custom menu. I have been able to load eModals from within pages and I understand what cblossants@gmail.com has said and how it should work etc, but clicking on my menu item will attempt to direct me to the link (http://# - can be found at http://www.52plusyou.co.uk under menu item TEST) not load as a modal.

    Any ideas on help?

    Thanks in advance

  11. danieliser
    Member
    Plugin Author

    Posted 1 year ago #

    The link you provided doesnt seem to have a menu.

    Check the source of the page when menu is visible, does the item you want have the eModal class there?

  12. 52PlusYou
    Member
    Posted 1 year ago #

    Hi danieliser and thank you for checking and replying.
    After posting this I discovered that there was a virus, within my site so had to restart it all, so currently have no menu no. I will attempt again soon and reply once I have done.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.