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

  1. wavydavey
    Posted 3 years 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?


  2. wavydavey
    Posted 3 years 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

  • Gallery by BestWebSoft
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.