simple elegant accordion feature
-
It would be great if there was a simple elegant accordion feature, that allows you to embed accordions into a page. I know you can manually construct these using collapsed rows, but they are very problematic and clunky. They need lots of tinkering, it's hard to easily shuffle the order of items, and impossible to move the entire accordion around on the page or into a right/left hand column of a row.
Ideal features would be:
- Add an accordion element to the page via the "+More" drop down menu, in the same way you add a shortcode
- Create the accordion row title and the contents that expand
- Ability to add/remove accordion rows easily
- Ability to easily re-order rows
- Ability to select from a few icon options (+/-) that open/close the accordion rows
- Ability to add text/image or video inside the accordion content
- Ability to define how they expand/collapse
Accordions are such a useful tool for embedding a lot of content and making it easily discoverable, like FAQs, and it feels like it's something Lay is missing.
-
hello! yes i will start working on the accordion element today
-
The new accordion is great, but is it possible to modify the accordion element to add HTML instead of a text block? That would be awesome!
-
@arminunruh new accordion is such a nice feature. So easy and fast to use and move around the page. Thanks for getting that in. One little tweak, would be great to be able to position the open/close icon on either the left or the right of the accordion if possible. Also would be great if cursor changes on hover, given they are active links. Otherwise it's perfect.
-
@arminunruh Also a bad bug I just found. If you have a number of accordion rows, and add a new one then it retains your existing content. But if you change the number to more than one new row (ie add two or more new rows), it deletes and resets all your content!
-
oh damn! ok i will work on it now!
-
do u want icons to be on the far right like this?
-
do u want icons to be on the far right like this?
@arminunruh yes exactly. The way you have provided the left hand option is cool too for flexibility. My thinking was that it would be really useful to have the option to select left or right hand options.
-
if u update lay theme now the bug is fixed and you have this setting too
-
if u update lay theme now the bug is fixed and you have this setting too
@arminunruh amazing thanks for making this happen. Great feature addition.
I also code custom websites or custom Lay features.
šæ Email me here: šæ
info@laytheme.com
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options ā Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it