WordPress.org

Forums

SearchAutocomplete
Apply different classes to certain items in drop down (1 post)

  1. vbarberini
    Member
    Posted 1 year ago #

    I need to be able to draw the users attention to certain items in the drop down menu more-so than others.

    In other words, I would like to display some of the items that I retrieve from the server differently than others. In particular parent categories should appear differently to children. I would like to accomplish this by applying different classes through which I can add icon images and colours.

    This is where I'm stuck. How can I apply class A to parent categories, and class B to children?

    Any help hugely appreciated.

    https://wordpress.org/plugins/search-autocomplete/

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • SearchAutocomplete
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic