Super Sale Limited Time 50% OFF for All-Access Plans
Save 50% Now

I cannot seem to get the


I am unable to get the accordions to work in my app. I have looked at the code in the docs and copied and pasted it into my application, but they do not work. The icons are missing, and the accordions don't toggle.

Am I missing a CSS file or some Javascript? I am using bootstrap 5.x ,vuejs and the code I copied and pasted is from here. https://preview.keenthemes.com/metronic/demo2/features/custom/accordions.html


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (1)


Hi Edgar,

Thank you for reaching out to us.

Could you please specify which Metronic version are you using?

The link you attached is Metronic 7 demo2 preview page, in Metronic 7 we are using Bootstrap 4.

If you are using Metronic 8 with Bootstrap 5 then you can refer to accordion usage examples in the latest Metronic version https://preview.keenthemes.com/html/metronic/docs/base/accordion.

And you can find Metronic 8 demo2 preview pagehere.

Regards,
Lauris Stepanovs,
Keenthemes Support Team


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(