Accordion or other solution for hide content #16
Unanswered
sdomeradzki
asked this question in
1. Help
Replies: 2 comments
-
You can use collapsible or accordion blocks: <div data-mage-init='{"collapsible":{"active":false}}' data-collapsible="true">
<h3 data-role="title" data-trigger="true">Question 1</h3>
<div data-role="content">Content 1</div>
</div>
<div data-mage-init='{"collapsible":{"active":false}}' data-collapsible="true">
<h3 data-role="title" data-trigger="true">Question 1</h3>
<div data-role="content">Content 2</div>
</div>
<div data-mage-init='{"accordion":{"active": -1}}'>
<div data-role="collapsible">
<h3 data-role="title" data-trigger="true">Question 1</h3>
<div data-role="content" style="display:none">Content 1</div>
</div>
<div data-role="collapsible">
<h3 data-role="title" data-trigger="true">Question 2</h3>
<div data-role="content" style="display:none">Content 2</div>
</div>
</div> |
Beta Was this translation helpful? Give feedback.
0 replies
-
Great @vovayatsyuk ! Thanks Work perfectly. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I want ask you about information "How use accordion" in breeze?
breeze evolution theme was built in solution for this?
Argento Theme was few options, In this theme I don't see. Can you help me?
I need this for FAQ. I have few question, where I want hide answers. When customer click on question will show answer.
@vovayatsyuk did you have maybe solution without additional extensions?
Beta Was this translation helpful? Give feedback.
All reactions