• Resolved alFrame

    (@alframe)


    Hi there,

    Is captions under images only achievable by using the legacy template?? Or worse, is it a pro feature??

    Problem is that it seems that the legacy template is using some other form of responsive css code.

    I managed to make the gallery look nice on different screen sizes by changing some of the css using the “new” template. https://www.janine-cristina-hemmi.ch/

    But that css does not work if I use the legacy template including the captions. https://www.janine-cristina-hemmi.ch/raku-keramik-bestellen/

    Besides the image not being centered above the caption, the page is not responsive at all and images stay in 5 columns. Strange design decision in 2020 and mobile first area…

    To display captions should simply be an option (checkbox) when inserting a gallery and not a complete different template and legacy on top of that.

    I guess I am missing something obvious here.

    Thanks,
    Alex

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter alFrame

    (@alframe)

    Addendum: I managed to center the image and the caption.

    And here’s the gallery insert short code: [ngg src=”galleries” ids=”19″ display=”basic_thumbnail” override_thumbnail_settings=”1″ thumbnail_width=”180″ thumbnail_height=”180″ images_per_page=”200″ number_of_columns=”5″ show_slideshow_link=”0″ template=”/home/hemmispa/public_html/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/ngglegacy/view/gallery-caption.php”]

    Maybe this helps. (hope hope)

    Hello @alframe,

    Thank you so much for sharing this information with us.
    In case someone is trying to archive a similar result, here are the steps with our Free version:

    – Use our “Basic Thumbnails” display.
    – Select the option “NextGen Legacy Gallery caption”.
    Note: The information that will be used for that gallery display it’s the “caption” or description in your photograph.

    Would you like to see other galleries templates in NextGEN Gallery?
    Please, feel free to use this feature request form: https://www.imagely.com/feature-voting/

    Thread Starter alFrame

    (@alframe)

    Thank you for getting back to me!

    That’s exactly what I did, but the rows stay with 5 columns each when viewed on smaller screens, or resize the browser window.

    I figured that if I set the columns to “0” (zero) instead of “5” they do rearrange correctly.

    However, I don’t seem to be able to center the gallery when there’s 4, 3, 2 or one column.

    Thanks,
    Alex

    Plugin Support Mihai Ceban

    (@mihaiimagely)

    Hi @alframe,

    You can try to center the thumbnails for the mobile screens by adding the CSS media query from below to “Gallery -> Other Options -> Styles”:

    @media(max-width: 400px) {
    .ngg-gallery-thumbnail-box {
    float: none !important;
    }

    .ngg-galleryoverview {
    text-align: center;
    }}

    Thread Starter alFrame

    (@alframe)

    Thank you!

    That works nicely below 200 pixels. But not above. Also taking the following outside the media query doesn’t help.

    .ngg-galleryoverview {
    text-align: center;
    }

    The columns change from 6 to 4 to 3 to 2 but not centered and then centered once it’s reduced to 1 column. Which in general is breaking the design as we have 4 columns on all other galleries of the page i.e. https://www.janine-cristina-hemmi.ch/bilder/

    Those pages use the: Select View – “default-view.php” and the Legacy (Old) Templates – “Standard” settings. I assume this is using the v3 and above template architecture, right?

    I also changed the page to not use wpbakery page builder, but that didn’t change a thing.

    Why is there no caption template using the (I assume) new templates in Imagely?

    I guess I am still missing something.

    Thanks,
    Alex

    Plugin Support Mihai Ceban

    (@mihaiimagely)

    Hi @alframe,

    The “Legacy (Old) Templates” weren’t updated for a while and respectively those may not behave in the same responsive manner as the main default template does but you can add the CSS rule to fix this problem:

    .ngg-gallery-thumbnail-box {
    display: inline-block;
    float: none;
    vertical-align: middle;
    }

    Thread Starter alFrame

    (@alframe)

    @mihaiimagely Thank you!

    That plus some media queries fixed the problem.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Captions & Templates’ is closed to new replies.