Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted May 21, 20204 yr Has anyone created a spoiler for rules? I found this: But it's showing "Reveal hidden contents" I'd like for it to show the rule on the label and then allow people to expand the rule to read the description. See https://www.elimperiolatino.com/guidelines/ in English (US). Any suggestions?
May 21, 20204 yr What you are looking for is called “accordion”. You might have more success searching for this term.
May 21, 20204 yr Author 9 minutes ago, opentype said: What you are looking for is called “accordion”. You might have more success searching for this term. Haven't found much. On WordPress, I use this plugin https://plugins.twinpictures.de/plugins/collapse-o-matic/documentation/
May 21, 20204 yr Author Something weird going on with the rules because the accordion works on a page I made, but not on the rules. https://www.elimperiolatino.com/sandbox/
May 21, 20204 yr Author I think the accordion isn't working because the CSS is not getting saved on the guidelines. https://www.w3schools.com/howto/howto_js_accordion.asp I don't feel like editing my theme to put that in there, but I kinda like the way the new rules look using buttons to highlight the rules. @opentype Thanks for the help anyway. 🙃 If anyone has figured out a way to make their rules look prettier, let me know. 😜