Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • 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. Project grid separator

Project grid separator

Scheduled Pinned Locked Moved General Discussion
6 Posts 2 Posters 49 Views
  • 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.
  • C Offline
    C Offline
    cchris
    wrote on last edited by
    #1

    Is there an easy way that I just didn't see to separate thumbnails within the project grid with lines?!
    Like this: Bildschirmfoto 2025-02-06 um 23.57.41.png
    (thumbs then can be centered within the box of course.)
    I'm just thinking of reusing the grid again in a "smaller" version like 4 Columns too ... (short sketch to give you an idea)Bildschirmfoto 2025-02-07 um 00.05.25.jpg

    Cheers
    Chris

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

      create a thumbnailgrid, colums set to 4

      Screenshot 2025-02-10 at 20.49.55.png

      and set both gutter spaces to 0 as seen on top

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

        and set layout type to "middle aligned"

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

          Enter this css in "lay options" -> "custom css & html" -> "custom css for desktop"

          
          .thumb-collection .thumbnail-wrap{
             padding: 2vw;
             height: 40vw;
             border-right: 1px solid black;
             border-bottom: 1px solid black;
             box-sizing: border-box;
          }
          
          .thumbs-collection-region .thumbnail-wrap{
              display: inline-flex;
              align-items: center;
          }
          
          .thumb-collection .thumb{
              width: 100%;
          }
          /*for every 4th element, dont show border right*/
          .thumb-collection .thumbnail-wrap:nth-child(4n){
              border-right: none;
          }
          /*for last 4 elements, dont show border bottom. you probably have to change this*/
          .thumb-collection .thumbnail-wrap:nth-last-child(-n+4) {
              border-bottom: none;
          }
          

          this works for when your thumbnailgrid is set to use 4 columns
          you need to change
          border-right: 1px solid black;
          border-bottom: 1px solid black;

          to

          border-right: 1px solid white;
          border-bottom: 1px solid white;

          you can change the numbers for these values:

          padding: 2vw;
          height: 40vw;

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

            the result:

            Screenshot 2025-02-10 at 21.06.58.png

            1 Reply Last reply
            1
            • C Offline
              C Offline
              cchris
              wrote on last edited by
              #6

              thanksssssss!!

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


              I also code custom websites or custom Lay features.
              šŸ’æ Email me here: šŸ’æ
              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
              M
              mactics
              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