WordPress.org

Forums

JQuery Accordion Menu Widget
[resolved] Indicating menus with triangles/pointers/arrows (7 posts)

  1. kgagne
    Member
    Posted 3 years ago #

    I love this plugin, but it seemed to lack a feature I wanted: triangles that indicate a menu is collapsible, pointing to the right when they're closed and down when they're open. Some of the skins do this, but none of them were visually consistent with my site's theme.

    I didn't know CSS when I first started using this plugin but have since been able to add this aesthetic feature rather easily. I thought it'd be helpful for others in similar situations if the following skin were provided as one of the included options in future versions of this plugin.

    /* Active parent links - when sub-menu is open */
    .dcjq-accordion ul a.dcjq-parent.active::before
    	{
    		content: "\25BC";
    		display: inline
    	}
    
    /* Parent links only */
    .dcjq-accordion ul a.dcjq-parent::before
    	{
    		content: "\25BA";
    		display: inline
    	}

    Thanks for your great work!

    http://wordpress.org/extend/plugins/jquery-vertical-accordion-menu/

  2. Fraser.Dk
    Member
    Posted 3 years ago #

    This worked great for me too. Thanks kgagne!

  3. kgagne
    Member
    Posted 3 years ago #

    I'm glad you found it useful!

  4. maslerdanch
    Member
    Posted 3 years ago #

    Anyone got a good way of adding images like in the grey theme? Looking to do it in the second drop down on the LHS of this page http://bit.ly/LZ2bfC

  5. maslerdanch
    Member
    Posted 3 years ago #

    Sorted with a custom theme - Link

  6. jeffszuc
    Member
    Posted 2 years ago #

    fantastic. thanks kgagne, it's exactly what i needed.

  7. kgagne
    Member
    Posted 2 years ago #

    Sometimes the simplest stuff is the hardest to figure out; I'm glad sharing my solution has proven useful. Thanks for letting me know, jeffszuc!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • JQuery Accordion Menu Widget
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic