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. Grid / list view

Grid / list view

Scheduled Pinned Locked Moved General Discussion
6 Posts 3 Posters 757 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.
  • L
    L
    lortnok
    wrote on last edited by lortnok
    #1

    Hi there,

    I would like to add a toggle so visitors can choose between thumbnail grid and list view without reloading the page. can I do this with ajax?

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

      oh unfortunately theres no functionality for this

      you can however create 2 pages one with a thumbnailgrid element and one with a project index element and then have links on these pages to one another :/

      L 1 Reply Last reply
      0
      • arminunruhA arminunruh

        oh unfortunately theres no functionality for this

        you can however create 2 pages one with a thumbnailgrid element and one with a project index element and then have links on these pages to one another :/

        L
        L
        lortnok
        wrote on last edited by lortnok
        #3

        @arminunruh no problem, I just solved it by putting the thumbnail grid below the index element on the landing page in the Gridder.
        I added grid_view_container class to the row where I placed the Thumbnail Grid.
        For the row below I added the class list_view_container and placed the Index element there.
        I did the same for the mobile version.

        by doing this I can now hide these rows by clicking the toggle button thanks to some javascript.

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

          yes very clever! this is a good way, its good you know javascript !! :))
          makes much more possible

          1 Reply Last reply
          0
          • alvarodozeA
            alvarodozeA
            alvarodoze
            wrote on last edited by
            #5

            @lortnok do you think this would work with the "Scroll slider" view? So I can switch from Grid to Scroll slider.

            Thank you in advance

            1 Reply Last reply
            0
            • arminunruhA
              arminunruhA
              arminunruh
              Global Moderator
              wrote on last edited by
              #6

              no that wont work

              1 Reply Last reply
              0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              Online Users
              M
              m.nishizawa
              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