Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author David Lingren

    (@dglingren)

    Thanks for your question and for posting the link to your site with the gallery example.

    I spent some time investigating the example page you posted. The gallery display is heavily styled by your theme’s styles.css file, which has over 3,500 lines of style specifications. I was unable to find a specific reason why the individual gallery entries fail to align. I ran some experiments on my development system using the WordPress 2014 template but I could not reproduce the problem.

    1. Does this issue appear on all your galleries, or is it specific some of them?
    2. Have you tried a WordPress [gallery] shortcode to see if it also has this issue?
    3. When you change to the 2014 theme, do the gallery tags change to < figure >, < div > and < figcaption >?
    4. Is there any way you can post a link to the problem occurring with the 2014 theme?
    5. Have you tried adding mla_style=none to your shortcode? That would remove all MLA styling from the gallery.
    6. Have you tried an older theme such as WordPress Twenty Twelve?

    I must admit that CSS is not one of my strengths. MLA produces the HTML tags and adds a few styles, but most of the styling is done by the theme. I haven’t found a specific MLA feature that could cause something like this. If you can give me more information I will keep trying to reproduce or investigate the cause. I regret the news is not more helpful.

    Thread Starter getsmart

    (@getsmart)

    Hi there,

    Figured the issue out – the Wysiwyg was adding a
    pre and code tag around the gallery html. I deleted this and the MLA gallery is now aligning fine.`

    Plugin Author David Lingren

    (@dglingren)

    Thanks for posting your update with the excellent news!

    It’s a good reminder for me that coding [mla_gallery] shortcodes is best done in the editor’s “Text” tab, not the “Visual” tab, which frequently goes awry in its attempts to be helpful.

    Thanks for your interest in the plugin. I am marking this otpic resolved, but if you have any problems or further questions, update it or start a new topic.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Mla gallery template not working’ is closed to new replies.