We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 27330
    • 884 Posts
    I have a gallery like on the wiki with thumbs and image on same page, I sorted my thumbs in my css to be vertical and for some annoying reason
    I keep getting a missing thumb in between the rest of them. I tried the sorting, css changes but can’t figure what cause this?

    Anyone have an idea maybe?

      • 27889
      • 415 Posts
      I think you use float left and your first column seems 1px vertical spaced more than the second so when the before last image is floatted it block against the right border of an image in a first column, you can use css clear:left for each row to avoid this.
        MODx Sites & Prestations: http://dp-site.fr [Last MODx Site]
        MODx Repository: [HOME] [MetaTagsExtra] / Current Dev: [xFDM]
        • 7923
        • 4,213 Posts
        try adding &pics_per_row=`2` to the snippet call.. it should add a clearer after each two pictures and should help you out..


          "He can have a lollipop any time he wants to. That's what it means to be a programmer."
          • 27330
          • 884 Posts
          thanks a bunch to you two.
          &pics_per_row=`2` solved it smiley