Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • in reply to: Inline gallery display only one column #84313
    wwwalker
    Member

    Yes. I just changed hosting but had to update database connection string. That is now fixed. I only just found my database error when I tried to open site on new hosting with database connection error. It is now fixed. You can check it now if you like. Site looks fine on new hosting and with software all fixed up re WordPress etc.

    Saga is over of updating site, moving hosting and delegating domain.

    in reply to: 1 column not 3 columns for gallery #84222
    wwwalker
    Member

    I updated to 4.3.

    Thanks for update.

    Yes custom CSS is needed to handle poor layout of captions forcing less than 3 columns.

    Because of various sizes and shapes of images it is hard to proportion the images without screwing up neighbouring images so I just stuck with oblong images in regular size blocks.

    I may resize the individual images that are odd man out square images so I don’t screw up the rest of the regular landscape images.

    in reply to: Inline gallery display only one column #84158
    wwwalker
    Member

    I came up with CSS:

    #content .gallery-item {
    display: inline-block;
    margin: 0;
    width: 33%;
    max-width: 300px;
    vertical-align: text-top;
    }

    in reply to: Inline gallery display only one column #84154
    wwwalker
    Member

    See mepsa.org gallery photos 2014 to see lousy long caption layout with above CSS.

    Caption does not wrap and forces width of box to be very wide and make 1 to 3 columns per row.

    in reply to: Inline gallery display only one column #84152
    wwwalker
    Member

    Yes that worked for my sites too. That took about 2 days to find out!

    Now the caption screws up the layout. Instead of wrapping and having each picture in a 1/3 of width box the caption does not wrap and if it is very long the box for the picture is very wide. There are still 3 columns but the columns are even depending on caption length.

    So the CSS suggested was not complete. It needs something to force 33% width so the caption wraps.

    Also the picture should be top aligned and not pushed up if caption is too long and pushes up picture.

    I will have to fiddle with CSS to get a better result with very long captions that are wider than the thumbnails above them.

    If you have the CSS answer please give it.

Viewing 5 posts - 1 through 5 (of 5 total)