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. 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 73 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.
  • benjaminmugnierB Offline
    benjaminmugnierB Offline
    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 Offline
      arminunruhA Offline
      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 Offline
        arminunruhA Offline
        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 Offline
          benjaminmugnierB Offline
          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
          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
          C
          craigfeldspar
          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