This repo contains CSS, and JavaScript code to change the Rankmath FAQs block into accordion.
To add it in your WordPress website, follow these steps:
- Copy javascript & paste it in your theme's function.php file. (!Important Tips: Aalways use child theme for custom scripts). If you are not a technical person, you can simply use plugins like WP Code or Code Snippets to do the same.
- Copy CSS & paste it in additional CSS field of your theme.
- Done! Refresh the page & look at the FAQs section.