Title: Please remove feedzy_add_item_padding function
Last modified: February 7, 2018

---

# Please remove feedzy_add_item_padding function

 *  Resolved [Damienov](https://wordpress.org/support/users/damienov/)
 * (@damienov)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/please-remove-feedzy_add_item_padding-function/)
 *     ```
       public function feedzy_add_item_padding( $itemAttr, $sizes ) {
       		$paddinTop    = number_format( ( 15 / 150 ) * $sizes['height'], 0 );
       		$paddinBottom = number_format( ( 25 / 150 ) * $sizes['height'], 0 );
       		$stylePadding = ' style="padding: ' . $paddinTop . 'px 0 ' . $paddinBottom . 'px"';
   
       		return $itemAttr . $stylePadding;
       	}
       ```
   
 * please for the love of god remove this function adding inline css into the widget,
   I’ve been disabling this code since 2 years ago on **every single update**.
 * At the very least make this an option to toggle on/off.
 * thanks

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

 *  [Rohit Motwani](https://wordpress.org/support/users/rohittm/)
 * (@rohittm)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/please-remove-feedzy_add_item_padding-function/#post-10009011)
 * Hi There,
 * May I know exactly what the problem you are facing?
 * Thank you.
 *  Thread Starter [Damienov](https://wordpress.org/support/users/damienov/)
 * (@damienov)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/please-remove-feedzy_add_item_padding-function/#post-10145005)
 * The code above will add an inline style tag that will override any css styling
   done, please remove it so I don’t have to manually remove it every time the plugin
   updates.
 *  [pamitha](https://wordpress.org/support/users/pamitha/)
 * (@pamitha)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/please-remove-feedzy_add_item_padding-function/#post-10642055)
 * I have to agree, the element style is impossible to override and I’d like my 
   own padding settings.
 *  [gatta2](https://wordpress.org/support/users/gatta2/)
 * (@gatta2)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/please-remove-feedzy_add_item_padding-function/#post-11007217)
 * I added this in my functions.php which used to work but doesn’t anymore. Please
   advise.
 * remove_filter( ‘feedzy_item_attributes’, ‘feedzy_add_item_padding’, 10, 2 );
 *  [Vishakha Patel](https://wordpress.org/support/users/vishakha/)
 * (@vishakha)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/please-remove-feedzy_add_item_padding-function/#post-11011856)
 * [@pamitha](https://wordpress.org/support/users/pamitha/),
 * Thanks for your input. I’ll suggest it to our developers. However, it is not 
   sure that we will implement the change as it affects many other plugin users 
   too.
 * You can try to change the padding using .rss_item class in Customize > Additional
   CSS. So that you won’t need to change the code when the plugin updates.
 * [@gatta2](https://wordpress.org/support/users/gatta2/),
    please raise a new ticket
   for the issue. Before that, try our the CSS class above. You will need to add
   the CSS code using that class as per your requirement in Additional CSS section.

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

The topic ‘Please remove feedzy_add_item_padding function’ 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/)

## Tags

 * [css](https://wordpress.org/support/topic-tag/css/)

 * 5 replies
 * 5 participants
 * Last reply from: [Vishakha Patel](https://wordpress.org/support/users/vishakha/)
 * Last activity: [7 years, 5 months ago](https://wordpress.org/support/topic/please-remove-feedzy_add_item_padding-function/#post-11011856)
 * Status: resolved