Remember me

Gridbox - accordion : choice for open/close icon

6 years 2 months ago #1

  • Jeremie's Avatar
  • Jeremie
  • Posts: 139
Hi,

Just a "nice to have" suggestion : would it be possible to have a second choice for the open & close icons in the Gridbox accordion ?

Up to now, there is only ">". Why not add as alternative "+" for opening the accordion and "-" for closing it ?

Best regards,

Jérémie

6 years 2 months ago #2

  • Viacheslav's Avatar
  • Viacheslav
  • Posts: 28858
Hello,

To get this result, you need to add the CSS code in the Code Editor
.accordion-heading > a > span + i:before {
    content: '\f278';
}

.accordion-toggle.active > span + i:before {
    transform: none !important;
    -webkit-transform: none !important;
    content: '\f273';
}

Regards,
Vyacheslav, Balbooa.com

6 years 2 months ago #3

  • Jeremie's Avatar
  • Jeremie
  • Posts: 139
Haha, CSS guru strikes again ;-)
That works fine, thanks !

6 years 2 months ago #4

  • Viacheslav's Avatar
  • Viacheslav
  • Posts: 28858
You are welcome ;)
Powered by Kunena Forum