• Resolved oichinokata

    (@oichinokata)


    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 7 years, 10 months ago by oichinokata.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter oichinokata

    (@oichinokata)

    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 Codeinwp

    (@codeinwp)

    Hey @oichinokata,

    We have added back the class, sorry for the problem caused.

    Let me know if is working ok now.

    Thread Starter oichinokata

    (@oichinokata)

    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.