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. Composition of a project page with images + projects thumbnails standard size

Composition of a project page with images + projects thumbnails standard size

Scheduled Pinned Locked Moved General Discussion
4 Posts 2 Posters 277 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.
  • D Offline
    D Offline
    dmnryl
    wrote on last edited by dmnryl
    #1

    Hi Lay theme people,

    I recently switched to lay template and I really like it but I have a couple of issues with how my images show on a project page. Basically, I'd like to present my pictures like on this page (http://diversions.mcslittlestories.com/kushalgupta/) being able to show 2 to 3 images per raw and alternate between 3 and 4 with a a small row gutter of 1% or 2%. The problem is that I don't see how I can achieve this. I tried these 3 options :
    1 - If I use Image tab in the gridder, I always get big row gutter where a scroll down directly leads me to the next image showing directly in full screen. (exemple : http://www.damienrayuela.com/the-nam-ou-river)
    2 - If I use "stack" I can't put one image right next to another.
    3 - If I use the element grid I can't alternate one row with two images, and the next row with three images. I am forced to always have the same number of images per raw.

    Second question : on this page (http://www.damienrayuela.com/category/projects/) I organized my projects by type but as the project are of different nature (video, portrait, landscape), the thumbnails are all of different sizes and it looks pretty messy. Is there a way to crop in these thumbnails so that they all have the same sizes ?

    Many thanks for your help,
    Look forward to read you,

    Best,

    Damien

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

      Dear @dmnryl
      you need to switch off the fullscreen slider. Then you can go for option 1. and display all images underneath each other.

      You could use CUSTOM CSS to give all images a same height.

      Hope that helps :-)

      Best!

      Marius

      www.mariusjopen.world

      1 Reply Last reply
      0
      • D Offline
        D Offline
        dmnryl
        wrote on last edited by dmnryl
        #3

        Hi Marius,

        Thanks for your time and support !

        1 - Thanks a lot ! It works ;)

        2 - For the question regarding the thumbnail sizes, I like your idea of using custom CSS but can't manage to make it work. I added theses lines :
        .col .thumb img, #search-results-region .thumb

        img.resize {
        height: 250px;
        }

        .col {
        position: relative;
        width: 250px;
        height: auto;
        overflow: hidden;
        }
        .thumb img {
        position: absolute;
        left: 50%;
        top: 50%;
        height: 100%;
        width: auto;
        -webkit-transform: translate(-50%,-50%);
        -ms-transform: translate(-50%,-50%);
        transform: translate(-50%,-50%);
        }
        .thumbnail img.portrait {
        width: auto;
        height: 250px ;
        }

        My images show in the preview of "customize" but when I publish the change I made, the thumbnails disappear completely.

        Any help please ?

        Best,

        Damien

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

          Dear @dmnryl
          it is worth to look into this one:
          https://www.w3schools.com/css/css3_object-fit.asp
          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
          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