Title: Remove breaks from functions-thumbnail.php
Last modified: August 21, 2016

---

# Remove breaks from functions-thumbnail.php

 *  Resolved [clane_workforce](https://wordpress.org/support/users/clane_workforce/)
 * (@clane_workforce)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/remove-breaks-from-functions-thumbnailphp/)
 * Excellent plugin thank you so much:)
 * I’d like to remove the breaks from the functions-thumbnail.php file in my child
   theme.
 * They are on lines 148 & 153. These breaks are causing large spacing in between
   logos and below the widget when only using 1 column. What will be the best approach,
   custom CSS, adding to functions.php, creating a custom template, etc.? Your help
   is appreciated.
 * [http://wordpress.org/plugins/related-posts-by-taxonomy/](http://wordpress.org/plugins/related-posts-by-taxonomy/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [keesiemeijer](https://wordpress.org/support/users/keesiemeijer/)
 * (@keesiemeijer)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/remove-breaks-from-functions-thumbnailphp/#post-4314756)
 * Try it with custom css:
 *     ```
       .related-gallery br {
           display: none;
       }
       ```
   
 *  Thread Starter [clane_workforce](https://wordpress.org/support/users/clane_workforce/)
 * (@clane_workforce)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/remove-breaks-from-functions-thumbnailphp/#post-4314779)
 * That works but removes all breaks and widgets below move underneath [http://wordpress.org/plugins/related-posts-by-taxonomy/](http://wordpress.org/plugins/related-posts-by-taxonomy/)
   widget. I am using Firebug to test, so removed the first break between items 
   that helped. But still large break after widget div. I think I might have to 
   do a little more custom css to make the div push widgets below down.
 *  Plugin Author [keesiemeijer](https://wordpress.org/support/users/keesiemeijer/)
 * (@keesiemeijer)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/remove-breaks-from-functions-thumbnailphp/#post-4314790)
 * Can you post a link to a page with the widget. It’s difficult to do css without
   testing it in a browser. Maybe using `:first-child` to target the breaks you 
   want or using padding or margin instead of `display: none;`.
 * [http://www.w3schools.com/cssref/sel_firstchild.asp](http://www.w3schools.com/cssref/sel_firstchild.asp)

Viewing 3 replies - 1 through 3 (of 3 total)

 The topic ‘Remove breaks from functions-thumbnail.php’ is closed to new replies.

 * ![](https://ps.w.org/related-posts-by-taxonomy/assets/icon.svg?rev=1115231)
 * [Related Posts by Taxonomy](https://wordpress.org/plugins/related-posts-by-taxonomy/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/related-posts-by-taxonomy/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/related-posts-by-taxonomy/)
 * [Active Topics](https://wordpress.org/support/plugin/related-posts-by-taxonomy/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/related-posts-by-taxonomy/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/related-posts-by-taxonomy/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [keesiemeijer](https://wordpress.org/support/users/keesiemeijer/)
 * Last activity: [12 years, 11 months ago](https://wordpress.org/support/topic/remove-breaks-from-functions-thumbnailphp/#post-4314790)
 * Status: resolved