• Hey

    I would like to place YouTube Simple Gallery on two different areas in our site – one area has thumbnails 150px wide while the other 200px wide.

    Is there some code I can add into:

    <?php echo do_shortcode(‘[youtubegallery cols=4]
    https://www.youtube.com/watch?v=PkRrR-DGRik
    [/youtubegallery]’); ?>

    To change the size of the thumbnails?

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Stian Andreassen

    (@stiand)

    There’s no option to set individual thumb size for different galleries. But you could do this by putting the gallery wich differs from standard settings in a div, and then use CSS to change the thumbnails in this gallery.

    E.g.

    <div id="specialgallery">
    <?php echo do_shortcode('[youtubegallery cols=4]
    
    [/youtubegallery]'); ?>
    </div>

    and just before </head> in your themes header.php you put

    <style type="text/css">
    <!--
    #specialgallery .youtube_gallery div { width: 200px !important; }
    -->
    </style>
    Thread Starter kiwiboy

    (@kiwiboy)

    awesome – thanks for that it worked ??

    Tell me how to change the height of the thumbnails?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: YouTube SimpleGallery] Different size thumbnails ?’ is closed to new replies.