Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,

    Have you tried creating a Gallery instead?
    https://codex.www.ads-software.com/The_WordPress_Gallery

    Hope that helps!

    as you are working with a responsive theme, you might need to size the images grid using percentages intead of fixed widths;
    also, try to get rid of the .grid-m1, .grid-m2, .grid-m3, .grid-m4, .grid-m5 divs;

    example CSS:

    .grid {
      max-width: 100%;
      margin: auto;
    }
    
    .grid-m1, .grid-m2, .grid-m3, .grid-m4, .grid-m5 {
      display: none;
    }
    
    .grid-c1, .grid-c2, .grid-c3, .grid-c4, .grid-c5 {
      float: left;
      width: 18.4%; margin-right: 2%;
    }
    .grid-c5 { margin-right: 0; }
    .grid-c1 img, .grid-c2 img, .grid-c3 img, .grid-c4 img, .grid-c5 img {
      max-width: 100%; height: auto;
    }
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Making a photo grid’ is closed to new replies.