Gallery by BestWebSoft
[resolved] [Plugin: Gallery] CSS Request (1 post)

  1. L D
    Posted 3 years ago #


    Was hoping you can put this in the next update. It would be nice if the CSS wasn't hard-coded into the plugin - it makes customization quite difficult and using !important isn't the most elegant way to override the default settings.

    Could you consider making the following changes?

    For this class...
    #content .gallery_box_single .gallery .gllr_image_block p

    ... can you remove the border? I know you're trying to give it a shadow but it looks really odd with the default gallery CSS.

    For this class...

    ... can you add the following?

    .gllr_single_image_text {
    	background-color: #f1f1f1;
    	padding: 5px 12px 15px;
    	line-height: 1.4em;

    This cleans up the captions allowing them to blend into the box. But in order to give the left and right sides of the captions a bit of breathing room, can you also remove the +20 from gallery-single-template.php; line 47?

    It should be this line:
    <div style="width:<?php echo $gllr_options['gllr_custom_size_px'][1][0]+20; ?>px;" class="gllr_single_image_text"><?php echo get_post_meta( $attachment->ID, $key, TRUE ); ?> </div>

    If you could remove the +20 then that would be great.

    Here's an example of how things look after implementing the above changes: http://derwrit.com/gallery/stanley-cup-riot-2011-photo-gallery/

    Thanks! Hope you'll consider!


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