Thanks for the good words and for your question.
It looks like you found the “Style and Markup Templates” section on the Settings/Media Library Assistant Documentation tab and the “Table-based Style and Markup Template Example” later in the section; is that right?
Once you’ve created a style template and/or a markup template there are two ways to use them in your [mla_gallery] shortcodes:
- You can set them as your default templates in the “Default [mla_gallery] Templates and Settings” section on the Settings/Media Library Assistant MLA Gallery tab. Your templates should appear in the dropdown controls; pick the templates you want, then scroll to the bottom of the page and click “Save Changes”.
- You can add
mla_style= and mla_markup= parameters to the [mla_gallery] shortcode.
Here is an earlier support topic with some additional examples and information:
Creating a post with Image metadata
You may have already found this topic with links to some related topics:
Table of videos w/ title, desc , tags, length
If none of the above is helpful could you post the content of your templates and shortcodes and perhaps a link to a page which uses the shortcodes? Any additional details you can supply will let me be more specifically helpful.
I am traveling for two days; back home on Tuesday. Thanks for your patience until I can follow up.
Thread Starter
hdr
(@hdr)
Thanks for the reply David,
I am reasonably comfortable with CSS editing and have made a number of websites, but I am just missing something here to do the basics.
Ive spent a couple of hours trying to work this out and I’m sure its straight forward once I know the flow.
Lets say I want to change the font size of my gallery image metadata description and give the images 20px of padding.
—- What short codes do I use, and where do I put them?
—- Where do I input the CSS for the font size and padding so it connects to the short code?
I want to do more than this, but if I can just see how this process works then I should be able to figure out the rest. 🙂
Thanks for your additional details.
You wrote “What short codes do I use, and where do I put them?“. The [mla_gallery] shortcode is the MLA alternative to WordPress’ [gallery] shortcode. You use this shortcode in the posts/pages where you want to display a gallery of Media Library items, just as you would [gallery].
You wrote “Where do I input the CSS for the font size and padding so it connects to the short code?” The CSS styles can go in your theme’s styles.css file, in MLA’s Style template or inline on your post/page. If you use MLA’s Style template you can take advantage of the substitution parameters described in the Documentation tab. If you define a custom MLA Style template you must either make it the default or use the mla_style parameter as described in my first response.
Thread Starter
hdr
(@hdr)
Got it! thanks very much for your time David 🙂