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. Bug Reports
  3. thumb-collection & thumbnailgrid , gap in px not working correctly

thumb-collection & thumbnailgrid , gap in px not working correctly

Scheduled Pinned Locked Moved Bug Reports
4 Posts 2 Posters 403 Views 1 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.
  • benjaminmugnierB
    benjaminmugnierB
    benjaminmugnier
    wrote on last edited by
    #1

    Hello Armin and Lay Team !

    Thx a lot for your great work, and this very cool web tool !

    I got some problems on my websites :

    I have no margins on thumb-collection because of conflict with :

    display: block;
    

    Normally, I need to have 20px gab between thumbs.

    I try to achieve this to orverwriting with :

    display: flex!important;
    flex-wrap: nowrap;
    

    It's working on desktop & mobile I guess but I got others problems, maybe they come from the last update : I got too big margin at the bottom of thumb-collection instead of my 20px.

    I saw same problems in other sites of an extra bottom-margin on the .thumbnailgrid class.

    Any ideas ?

    Thx, B.

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

      oh nice website

      i think you can just not use css
      but use the normal settings for a thumbnailgrid for gap in px

      Screenshot 2024-03-14 at 20.19.45.png

      also disable ur caching plugin
      or clear its cache

      try both

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

        oh i see the value here is wrong maybe
        Screenshot 2024-03-14 at 20.20.59.png

        yea it seems like the padding-bottom value is wrong

        wordpress sometimes cannot correctly read the size of a video

        u could change the padding-bottom: to 56% using custom css

        benjaminmugnierB 1 Reply Last reply
        0
        • arminunruhA arminunruh

          oh i see the value here is wrong maybe
          Screenshot 2024-03-14 at 20.20.59.png

          yea it seems like the padding-bottom value is wrong

          wordpress sometimes cannot correctly read the size of a video

          u could change the padding-bottom: to 56% using custom css

          benjaminmugnierB
          benjaminmugnierB
          benjaminmugnier
          wrote on last edited by
          #4

          hello Armin, glad to hear you ;)

          Thanks, I guess it was the cache plugin indeed who was in conflict with my css because I had already put the good setting in the setting box of thumb grid project. It works well now for .thumb-collection, and I removed the custom CSS.

          And for the extra padding I put this code and it works perfectly thanx !

          .thumb-collection .ph {
              padding-bottom: 56%!important;
          }
          

          Cheerz
          B.

          1 Reply Last reply
          1

          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
          I
          itsbadjujuju
          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