Title: Inline css
Last modified: September 1, 2016

---

# Inline css

 *  Resolved [avalanche](https://wordpress.org/support/users/packerland/)
 * (@packerland)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/inline-css-9/)
 * I noticed that the plugin is creating inline css (width=”25%’). Is it possible
   to remove this?
 * I’ve also noticed, when I use php to insert the shortcode, I can’t use any of
   the options (images=”yes” size=”small”).
 * [https://wordpress.org/plugins/wp-sponsors/](https://wordpress.org/plugins/wp-sponsors/)

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

 *  [janhenckens](https://wordpress.org/support/users/janhenckens/)
 * (@janhenckens)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/inline-css-9/#post-7566078)
 * Hey!
 * The inline css for the grid can indeed be improved. I have a large update that’s
   almost ready and that takes care of this so hang it there for a little bit longer.
 * I’ll have to look into the shortcode issue. I assume you’re trying this in a 
   theme?
 *  Thread Starter [avalanche](https://wordpress.org/support/users/packerland/)
 * (@packerland)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/inline-css-9/#post-7566097)
 * At this time, I’m using a different plugin. Could you please let me know when
   your plugin gets an update? I would really like to use yours since it shows up
   as “Sponsors” in the WP navigation.
 * Yes, I’m inserting the shortcode directly into the footer.php in the theme. Here
   is an example of a shortcode that I’m using for a different plugin:
    `<?php echo
   do_shortcode('[logoshowcase cat_id="9" dots="false" arrows="false" link_target
   ="blank" slides_column="5"]'); ?>`
 * If I were to use: `<?php echo do_shortcode('[your-shortcode]'); ?>`, it works
   just fine. But when I start adding parameters, it quits working.
 *  [janhenckens](https://wordpress.org/support/users/janhenckens/)
 * (@janhenckens)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/inline-css-9/#post-7566109)
 * The update is going out today. That will include the fix for the inline css.
   
   But it also has a lot of other important changes.
 * I’ll get to your shortcake issue after I see that this update goes well for people
   🙂
 *  Thread Starter [avalanche](https://wordpress.org/support/users/packerland/)
 * (@packerland)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/inline-css-9/#post-7566111)
 * I installed the new version, I now receive a warning of an invalid argument in
   the wp dashboard.
 * [Screenshot](https://www.dropbox.com/s/xzg78dg3laxt6kq/Screen%20Shot%202016-07-21%20at%209.10.04%20AM.png?dl=0)
 * And when I try to add/update any type of page, I receive these warnings:
 *     ```
       Warning: Invalid argument supplied for foreach() in /home/content/a2pnexwpnas02_data03/10/3377910/html/wp-content/plugins/wp-sponsors/includes/class-wp-sponsors-upgrade.php on line 80
   
       Warning: Cannot modify header information - headers already sent by (output started at /home/content/a2pnexwpnas02_data03/10/3377910/html/wp-content/plugins/wp-sponsors/includes/class-wp-sponsors-upgrade.php:80) in /home/content/a2pnexwpnas02_data03/10/3377910/html/wp-admin/post.php on line 197
   
       Warning: Cannot modify header information - headers already sent by (output started at /home/content/a2pnexwpnas02_data03/10/3377910/html/wp-content/plugins/wp-sponsors/includes/class-wp-sponsors-upgrade.php:80) in /home/content/a2pnexwpnas02_data03/10/3377910/html/wp-includes/pluggable.php on line 1167
       ```
   
 *  [janhenckens](https://wordpress.org/support/users/janhenckens/)
 * (@janhenckens)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/inline-css-9/#post-7566112)
 * Thanks for reporting that problem!
    I just released 2.0.1 to fix that, can you
   give that update a try?
 * Thanks!
    Jan
 *  Thread Starter [avalanche](https://wordpress.org/support/users/packerland/)
 * (@packerland)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/inline-css-9/#post-7566114)
 * Errors are gone! Inline css is gone! The images have a height of 80px (inline
   css), but I can work with that. Looks great! 🙂
 *  [janhenckens](https://wordpress.org/support/users/janhenckens/)
 * (@janhenckens)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/inline-css-9/#post-7566115)
 * Happy to hear that 🙂
 * I’ll keep this thread open until I’ve investigated the shortcode issue, should
   have a fix for that in the coming week.
 *  Thread Starter [avalanche](https://wordpress.org/support/users/packerland/)
 * (@packerland)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/inline-css-9/#post-7566117)
 * So… Not sure what happened, but `<?php echo do_shortcode('[sponsors size="small"
   style="grid"]'); ?>` worked just fine. Maybe I had a typo, idk, but it’s working.
   Thanks for all your help. 😀
 *  [janhenckens](https://wordpress.org/support/users/janhenckens/)
 * (@janhenckens)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/inline-css-9/#post-7566127)
 * Thanks for the follow up, good to hear you’re all sorted now 🙂

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

The topic ‘Inline css’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-sponsors_e7e7e7.svg)
 * [Sponsors](https://wordpress.org/plugins/wp-sponsors/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-sponsors/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-sponsors/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-sponsors/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-sponsors/reviews/)

 * 9 replies
 * 2 participants
 * Last reply from: [janhenckens](https://wordpress.org/support/users/janhenckens/)
 * Last activity: [9 years, 10 months ago](https://wordpress.org/support/topic/inline-css-9/#post-7566127)
 * Status: resolved