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. Thumbnails grid: Images Proportions

Thumbnails grid: Images Proportions

Scheduled Pinned Locked Moved General Discussion
5 Posts 3 Posters 546 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.
  • I Offline
    I Offline
    Ilina Catana
    wrote on last edited by
    #1

    Hey Laytheme :)

    I am looking to make a Thumbnails grid where the vertical and horizontal images would have the same proportions and not the same width.

    I try to make it look like this:
    0_1537787856564_Exemple_Thumbnail_Grid_right.png

    It actually looks like this:
    0_1537787908707_Exemple_Thumbnail_Grid_wrong.png

    Here is the url of the page in question: http://www.andreaseifert.de/portfolio

    Can you help me?

    Thank you in advance! :)

    Best,

    Ilina

    1 Reply Last reply
    0
    • edgrbnzE Offline
      edgrbnzE Offline
      edgrbnz
      wrote on last edited by
      #2

      Prepare your project thumbnails either as transparent PNGs in a square sized document. Or use a background coloured like your page-background.

      Pretty much the same procedure you would use to prepare non-square Instagram posts.

      ✦ ✦ ✦

      1 Reply Last reply
      0
      • mariusjopenM Offline
        mariusjopenM Offline
        mariusjopen
        Global Moderator
        wrote on last edited by
        #3

        Dear @Ilina-Catana
        I think the solution of @edgrbnz is simple and works.
        Otherwise you can adjust the height or width with CUSTOM CSS and then use object-fit.

        Have a look here, that might lead you into the right drection:
        http://laythemeforum.com:4567/topic/3710/make-project-thumbs-have-a-fixed-height-while-filling-it-in-with-the-correct-aspect-ratio/2

        Let me know when you need more help!

        Best!

        Marius

        www.mariusjopen.world

        1 Reply Last reply
        0
        • I Offline
          I Offline
          Ilina Catana
          wrote on last edited by
          #4

          Hi @edgrbnz @mariusjopen,

          thanks a lot for your answers.

          I wanted to avoid my client the extra work of preparing each thumbnail separately with a transparent background.

          My knowledge of CSS being limited, I worked with an offset on the "X" axis for all vertical images. For the moment it works relatively well on Desktop and Laptop.

          Thank you again!

          Ilina

          1 Reply Last reply
          0
          • mariusjopenM Offline
            mariusjopenM Offline
            mariusjopen
            Global Moderator
            wrote on last edited by
            #5

            Dear @Ilina-Catana
            if that works for you – then we are happy :-D

            Best!

            Marius

            www.mariusjopen.world

            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
            A
            alasdair17
            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