Dynamic element to show text when clicked?
-
I’m looking for an element — or new theme — that provdies a dynamic feature where you have a box with an image or simple text lable, and when a user clicks it the box flips around and shows a longer text description. Is there such a thing?
The blog I need help with is: (visible only to logged in users)
-
Hey @michaelzimmer, I’m not positive I understand what you mean by ‘flipped around’ — I’m picturing something akin to flash cards, or something like that Memory board game I grew up with. I don’t know of any built-in blocks that do that. I am sure it could be accomplished with some custom code, though. Do you want to share more about what you have in mind?
Also, we do have a “details” block that, when clicked, expands a longer text description. There’s no flipping around, but would that work just as well for your case?
The Details block is a block that allows you to include content hidden under a parent block with a text summary. This works like an accordion, with the text summary expanding to show nested content. Click here for an example of the Details block. This is hidden content. Add the Details Block You can add an accordion-like Details block to your pages, posts, templates, or template parts
- The topic ‘Dynamic element to show text when clicked?’ is closed to new replies.
