Jump to content

Featured Replies

Posted

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?

What you are looking for is called “accordion”.  You might have more success searching for this term. 

  • 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. 😜

Recently Browsing 0

  • No registered users viewing this page.