collaps all expanded rows on menu click?
-
Hello. Is there a chance to build a script or add some class to links or the menu to collapse all expanded rows on one click? I would like to close the coloured rows on the page when I click something in the menu so that the scrolls match and the website is less cluttered. www.maler-palette-halle.de Any ideas here? It would have to happen before the scroll I guess so that it lands accurately. Cheers, Arne
-
ah yeah, cool idea.
lay-collapse-expanded-rows
You can add this class to a menu point with the next update and try that.
-
wait for update pls
-
Thanks! I checked your website and “Collapse other Rows” is working correctly again after resetting the links, so this was not caused by the new menu class.
I noticed that “Gerüstbau” and “Partner” are currently both linked to row 22. The content row for “Gerüstbau” is row 18, so you should reset that link once more and assign it to row 18.but theres one thing that will be fixed with the next update
-
Thanks! I checked your website and “Collapse other Rows” is working correctly again after resetting the links, so this was not caused by the new menu class.
I noticed that “Gerüstbau” and “Partner” are currently both linked to row 22. The content row for “Gerüstbau” is row 18, so you should reset that link once more and assign it to row 18.but theres one thing that will be fixed with the next update
@arminunruh thanks for checking that out! I repaired it. Could it be possible that on mobile the new improved script makes opening rows closing other rows not functional? It seems to work noch on desktop view but not on mobile. Could you check out www.maler-palette-halle.de on mobile? I build that view it as well now.
We also code custom websites or bespoke Lay features. Drop me a line at info@laytheme.com or check out my work at arminunruh.com.
Want to support my work? paypal.me/arminunruh
For paid 1-on-1 Lay Theme Coaching, contact Audrey (audrey@cyberslayers.work) or me (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