WordPress.org

Support

Support » Plugins and Hacks » Cool Video Gallery » [Resolved] [Plugin: Cool Video Gallery] reduce font size of description below thumbnail

[Resolved] [Plugin: Cool Video Gallery] reduce font size of description below thumbnail

Viewing 2 replies - 1 through 2 (of 2 total)
  • I would like this too – posted a thread 6 days ago but no reply so far.

    I have found a solution. Try at your own risk… Backup the file before you make any changes.
    In cool-video-gallery/lib/core.php

    Look for:

    if($options['cvg_description'] == 1)
    		    		$out .= '<br clear="all"/><div style="text-align:center;width:'.$thumb_width.'px;">'. stripcslashes($video->description).'</div><div class="clear"></div></div>';

    To change the font size I have added: font-size:10px
    Also, I have increased the height of the area for the text by making it the same height as the thumbnail (height:’.$thumb_height.’px;). Height and width of thumbnail are set thru the control panel.

    Here is the revised code I am using:

    if($options['cvg_description'] == 1)
    		    		$out .= '<br clear="all"/><div style="text-align:center;font-size:10px;width:'.$thumb_width.'px;height:'.$thumb_height.'px;">'. stripcslashes($video->description).'</div><div class="clear"></div></div>';

    By increasing the size of the thumbnail to 150 x 150 from the control panel you can make it display 3 videos per row. This will probably require recreating thumbnail images.

    As of now this solution is working for me. Backup core.php before you make changes. Hopefully this does not affect anything else in the plugin.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] [Plugin: Cool Video Gallery] reduce font size of description below thumbnail’ is closed to new replies.
Skip to toolbar