Title: [Plugin: Gallery] CSS Request
Last modified: August 20, 2016

---

# [Plugin: Gallery] CSS Request

 *  Resolved Anonymous User 5746546
 * (@anonymized-5746546)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-gallery-css-request/)
 * Hello,
 * 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…
    `.gllr_single_image_text`
 * … 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/](http://derwrit.com/gallery/stanley-cup-riot-2011-photo-gallery/)
 * Thanks! Hope you’ll consider!
 * [http://wordpress.org/extend/plugins/gallery-plugin/](http://wordpress.org/extend/plugins/gallery-plugin/)

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

 * ![](https://ps.w.org/gallery-plugin/assets/icon-256x256.gif?rev=2580845)
 * [Gallery by BestWebSoft - Customizable Image and Photo Galleries for WordPress](https://wordpress.org/plugins/gallery-plugin/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gallery-plugin/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gallery-plugin/)
 * [Active Topics](https://wordpress.org/support/plugin/gallery-plugin/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gallery-plugin/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gallery-plugin/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: Anonymous User 5746546
 * Last activity: [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-gallery-css-request/)
 * Status: resolved