WordPress.org

Ready to get started?Download WordPress

Forums

Gallery
[resolved] How to get rid of hard coded +20px around each thumbnail? (2 posts)

  1. wavydavey
    Member
    Posted 1 year ago #

    HI there,

    There is a line in the gallery-single-template.php:

    <p style="width:<?php echo $gllr_options['gllr_custom_size_px'][1][0]+20; ?>px;height:<?php echo $gllr_options['gllr_custom_size_px'][1][1]+20; ?>px;">

    I have tried opening the templates files and changing the +20, both in the plugin folder and the theme folder, but nothing changes. Yes I have cleared my browser cache multiple times. No matter what I do, the hardcoded p style stays.

    Am I missing something? Where else could it be coming from?

    http://wordpress.org/extend/plugins/gallery-plugin/

  2. wavydavey
    Member
    Posted 1 year ago #

    Okay, the settings that work are in the gallery-plugin.php, line 931. Once changed there, it worked.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.