Jquery Accordion widget - remove the icon and padding

liorix picture liorix · Jul 3, 2010 · Viewed 24.8k times · Source

I'm new to jquery and i'm trying to find out if it's possible to create simple accordion without the arrow icon and without padding at all inside the accordion content.

I want to use the whole content space, and it seems like jquery accordion widget auto create some padding as the width of the arrow icon.

Thanks! Lior

Answer

Renato Gama picture Renato Gama · Sep 9, 2011

to remove the icons you better use

$( "#accordion" ).accordion({
    icons: false
});