I am using docs.jquery.com/UI/Accordion and works well however I can’t seem to figure out how to add an icon to the headers of the accordion.
I only need to add the icon and I don’t want to style the entire accordion. Anyone knows how? Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can just add it into your html inside the H3 tag as an image or as the background of a span tag maybe.
Alternatively you could add it as a background to the H3 tag via your stylesheet.
That’s probably the two simplest options.
WHen an H3 is open (i.e. it’s the active H3) it gets a different class so you can use that to display a different icon.