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>';
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘CSS for Default Image’ is closed to new replies.