WordPress.org

Forums

SimpleModal Login
Using Simple Modal with custom menus (2 posts)

  1. DJTwittr
    Member
    Posted 3 years ago #

    Is there a way to get a log in link to use the simple modal class inside of a custom menu? My site has three menu locations and I have a log in link in one of them but I have no way of adding the class to the menu

    http://wordpress.org/extend/plugins/simplemodal-login/

  2. Eric Martin
    Member
    Plugin Author

    Posted 3 years ago #

    How are your menus created? You should be able to add a class, unless they are being created by another plugin (even then, it is probably possible).

    If you are using the WordPress Menus (Admin > Appearance > Menus) feature, you can do the following steps to manually add the necessary CSS class to the Menu item that you want to trigger SimpleModal Login:

    1. On the Menus screen, click the 'Screen Options' link on the top right. In the "drop down", select 'CSS Classes' under 'Show advanced menu properties'.
    2. Now, for the link you want to use to trigger SimpleModal Login, enter simplemodal-login under 'CSS Classes (optional)'.
    3. That Menu item should trigger SimpleModal Login when clicked!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • SimpleModal Login
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic