• Resolved ernstwg

    (@ernstwg)


    Hi David. On the linked page the first image is embbeded with the short code block

    mla_gallery columns=1 link=file size=large s=”Junge Frau EAE /männer/” mla_style=”experiment-default-basis” . padding ist larger.

    Second image is inserted with standard gutenberg image block. padding ist lower. Any Idea what’s the reaso and how to tweak this?

    Cheers, Ernst Wilhelm

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter ernstwg

    (@ernstwg)

    Sorry this is the correct link
    https://ernst-wilhelm-grueter.de/mla-test/

    Plugin Author David Lingren

    (@dglingren)

    Ernst,

    Good to hear from you again. Thanks for the link to your test page; very helpful.

    The first, smaller image is surrounded by three levels of HTML containers supplied by the default markup template:

    <div class="gallery galleryid-34055 gallery-columns-1 gallery-size-large" id="mla_gallery-1">
      <figure class="gallery-item last_in_row">
        <div class="gallery-icon landscape">
    

    The <figure class="gallery-item last_in_row"> tag has a margin: 1.5% style in the default style template. You can control or eliminate this value with the mla_margin shortcode parameter (or by using a custom template). Try mla_margin=none to eliminate it from your gallery display.

    The <div class="gallery-icon landscape"> has a padding: 5px style in your theme’s “autoptmize” stylesheet. You might be able to change that or you can override it by adding an appropriate style to your “experiment-default-basis” custom style template.

    I hope that helps you get the results you need. I am marking this topic resolved, but please update it if you have problems or further questions regarding the above suggestions. Thanks for your continued interest in the plugin.

    Thread Starter ernstwg

    (@ernstwg)

    mla_margin=none works nearly perfect. So it is good 🙂 Many thanks.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Image format mla versus wordpress’ is closed to new replies.