Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

  1. Home
  2. General Discussion
  3. collaps all expanded rows on menu click?

collaps all expanded rows on menu click?

Scheduled Pinned Locked Moved General Discussion
7 Posts 2 Posters 43 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ArneRobotA Offline
    ArneRobotA Offline
    ArneRobot
    wrote last edited by
    #1

    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

    1 Reply Last reply
    0
    • arminunruhA Offline
      arminunruhA Offline
      arminunruh
      Global Moderator
      wrote last edited by arminunruh
      #2

      ah yeah, cool idea.

      lay-collapse-expanded-rows

      You can add this class to a menu point with the next update and try that.

      1 Reply Last reply
      0
      • ArneRobotA Offline
        ArneRobotA Offline
        ArneRobot
        wrote last edited by
        #3

        Can I do sth now or should I wait for the update? :-)

        1 Reply Last reply
        0
        • arminunruhA Offline
          arminunruhA Offline
          arminunruh
          Global Moderator
          wrote last edited by
          #4

          wait for update pls

          1 Reply Last reply
          0
          • ArneRobotA Offline
            ArneRobotA Offline
            ArneRobot
            wrote last edited by
            #5

            Works like a charm! Thank you! <3

            1 Reply Last reply
            0
            • ArneRobotA Offline
              ArneRobotA Offline
              ArneRobot
              wrote last edited by
              #6

              BUT: clicking on a row won't close the others anymore. So yes, clicking on a menu link closes all rows but expanding a new row won't close the others…

              1 Reply Last reply
              0
              • ArneRobotA Offline
                ArneRobotA Offline
                ArneRobot
                wrote last edited by
                #7

                I reset all links in the gridder and it seems to work again.

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                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:
                1. When using a WordPress Cache plugin, disable it or clear your cache.
                2. Update Lay Theme and all Lay Theme Addons
                3. Disable all Plugins
                4. 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:
                1. Post a link to where the problem is
                2. Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
                3. If the problem is difficult to explain, post screenshots / link to a video to explain it
                Online Users
                Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com
                laytheme.com
                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Recent
                • Tags
                • Popular
                • Users
                • Search