Title: CSS for Default Image
Last modified: January 5, 2017

---

# CSS for Default Image

 *  Resolved [oichinokata](https://wordpress.org/support/users/oichinokata/)
 * (@oichinokata)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/css-for-default-image/)
 * Dear Themeisle,
 * Thank you for updating the grate plugin.
    Could you add (or restore) a class 
   to the default image as following patch? Previous version has the class, but 
   3.0.1 doesn’t have. I’m customizing display with this class name, so if it is
   important to customize.
 *     ```
       bash-3.2$ diff -u feedzy-rss-feeds/includes/abstract/feedzy-rss-feeds-admin-abstract.php feedzy-rss-feeds.mod/includes/abstract/feedzy-rss-feeds-admin-abstract.php
       --- feedzy-rss-feeds/includes/abstract/feedzy-rss-feeds-admin-abstract.php	2017-01-05 12:03:00.000000000 +0900
       +++ feedzy-rss-feeds.mod/includes/abstract/feedzy-rss-feeds-admin-abstract.php	2017-01-06 00:49:18.000000000 +0900
       @@ -515,7 +515,7 @@
        					$contentThumb .= '<span class="fetched" style="background-image:  url(' . $theThumbnail . ');" alt="' . $item->get_title() . '"></span>';
        				}
        				if ( $sc['thumb'] == 'yes' ) {
       -					$contentThumb .= '<span style="background-image:url(' . $sc['default'] . ');" alt="' . $item->get_title() . '"></span>';
       +					$contentThumb .= '<span class="default" style="background-image:url(' . $sc['default'] . ');" alt="' . $item->get_title() . '"></span>';
        				}
        			} else {
        				$contentThumb .= '<span style="width:' . $sizes['width'] . 'px; height:' . $sizes['height'] . 'px; background-image:url(' . $sc['default'] . ');" alt="' . $item->get_title() . '"></span>';
       ```
   
    -  This topic was modified 9 years, 5 months ago by [oichinokata](https://wordpress.org/support/users/oichinokata/).

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

 *  Thread Starter [oichinokata](https://wordpress.org/support/users/oichinokata/)
 * (@oichinokata)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/css-for-default-image/#post-8622941)
 * Dear Themeisle,
 * I’m using these classes as follows outside of Feedzy.
 *     ```
       .feedzy-rss .rss_item .rss_image .fetched {
           background-size: contain;
           background-repeat: no-repeat;
       }
   
       .feedzy-rss .rss_item .rss_image .default {
           display: none;
       }
       ```
   
 * Thanks,
    Oichinokata
 *  Plugin Author [WPShout](https://wordpress.org/support/users/codeinwp/)
 * (@codeinwp)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/css-for-default-image/#post-8625312)
 * Hey [@oichinokata](https://wordpress.org/support/users/oichinokata/),
 * We have added back the class, sorry for the problem caused.
 * Let me know if is working ok now.
 *  Thread Starter [oichinokata](https://wordpress.org/support/users/oichinokata/)
 * (@oichinokata)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/css-for-default-image/#post-8625486)
 * Dear Codeinwp,
 * Thank you for quick updating. I’ve checked it, then it works well.
    Thank you
   again.
 * Oichinokata

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

The topic ‘CSS for Default Image’ is closed to new replies.

 * ![](https://ps.w.org/feedzy-rss-feeds/assets/icon-256x256.gif?rev=3418285)
 * [RSS Aggregator by Feedzy – Feed to Post, Autoblogging, News & YouTube Video Feeds Aggregator](https://wordpress.org/plugins/feedzy-rss-feeds/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/feedzy-rss-feeds/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/feedzy-rss-feeds/)
 * [Active Topics](https://wordpress.org/support/plugin/feedzy-rss-feeds/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/feedzy-rss-feeds/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/feedzy-rss-feeds/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [oichinokata](https://wordpress.org/support/users/oichinokata/)
 * Last activity: [9 years, 5 months ago](https://wordpress.org/support/topic/css-for-default-image/#post-8625486)
 * Status: resolved