Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Seth Carstens

    (@sethcarstens)

    1. use the “text” editing tab, build a <div> tag around the gallery and use normal means of centering (display inline + text-align or margin auto)
    2. you would have to have the plugin at this point to slow it down, the jquery that loads the gallery has options, but there is currently no filters that would allow overwriting them

    a. goto documentation and ready how to append the option for the jQuery plugin (https://coffeescripter.com/code/ad-gallery/)
    b. modify the plugin line that calls the gallery (do a search for the following within the files “jQuery(“#galleryContent<?php echo $count;?> .ad-gallery” ).adGallery”

    Thread Starter leejosepho

    (@leejosepho)

    I tried this…
    <p style="text-align: center;"><div>[gallery]</div></p>
    …but that did not work, and I just realized it would also be nice for the gallery to use the full width available on the page. However, I did find the line to change to slow the gallery down.

    Plugin Author Seth Carstens

    (@sethcarstens)

    Did you try to remove the P tag and put a style=”margin:auto;} on the div tag?

    Plugin Author Seth Carstens

    (@sethcarstens)

    Thread Starter leejosepho

    (@leejosepho)

    I now have this…
    <a style="margin:auto;"><div>[gallery]</div></a>
    …and that is not making any difference. I have a Twenty Twelve Child Theme, and I might have to have someone do something there since I am asking for more than your fine plugin is intended to do a the moment. So, many thanks for your extra effort!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How can I center SM Gallery and slow it down?’ is closed to new replies.