Support » Plugin: Gallery by BestWebSoft » [Plugin: Gallery] CSS Request

  • Resolved L D



    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:

    Thanks! Hope you’ll consider!

  • The topic ‘[Plugin: Gallery] CSS Request’ is closed to new replies.