Title: Proper Way to Insert CSS Code with Plugin
Last modified: November 3, 2022

---

# Proper Way to Insert CSS Code with Plugin

 *  Resolved [itsgotime](https://wordpress.org/support/users/itsgotime/)
 * (@itsgotime)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/proper-way-to-insert-css-code-with-plugin-2/)
 * I’m new to using the plugin, have inserted various JS, html and global items 
   but am unsure of how to create a snippet to insert common css, things that I 
   would normally insert within appearance > customize > additional css within WordPress.
   I have a few css codes to enter, I assume I enter them all in one spot but I 
   can’t locate the area to do this?
 * For example:
 * /* Remove Google+ */
    .skin_flat .social-likes__widget_plusone { display: none;}
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fproper-way-to-insert-css-code-with-plugin-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Mircea Sandu](https://wordpress.org/support/users/gripgrip/)
 * (@gripgrip)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/proper-way-to-insert-css-code-with-plugin-2/#post-16161172)
 * Hi [@itsgotime](https://wordpress.org/support/users/itsgotime/),
 * The easiest way to load CSS snippets in the current version is to create a HTML
   snippet and assign that to the Site Wide Header location.
 * In the code simply wrap the styles in a `<style>` tag.
 * Using your example you’d have:
 *     ```
       <style>
       /* Remove Google+ */
       .skin_flat .social-likes__widget_plusone {
       display: none;
       }
       /* Add more styles here */
       </style>
       ```
   
 *  Thread Starter [itsgotime](https://wordpress.org/support/users/itsgotime/)
 * (@itsgotime)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/proper-way-to-insert-css-code-with-plugin-2/#post-16161218)
 * Thanks, so 1.) can I do more than one css inside one or do I have to create multiple
   HTML snippets? and 2.) would you say this is faster than simply adding the css
   code to the normal appearance > customize > additional css within WordPress?
 *  Plugin Author [Mircea Sandu](https://wordpress.org/support/users/gripgrip/)
 * (@gripgrip)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/proper-way-to-insert-css-code-with-plugin-2/#post-16161228)
 * Yes, you can add as many rules as you want in 1 snippet or you can also split
   them up if you wish.
 * I think in terms of loading additional CSS both methods will have the same performance
   but using WPCode will allow you to conditionally load some styles, for example.
 *  Thread Starter [itsgotime](https://wordpress.org/support/users/itsgotime/)
 * (@itsgotime)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/proper-way-to-insert-css-code-with-plugin-2/#post-16162484)
 * One follow-up, for multisites – do all css applied, or other codes, get pushed
   across all sites or just the site the plugin is activated on?

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

The topic ‘Proper Way to Insert CSS Code with Plugin’ is closed to new replies.

 * ![](https://ps.w.org/insert-headers-and-footers/assets/icon-256x256.png?rev=2758516)
 * [WPCode - Insert Headers and Footers + Custom Code Snippets - WordPress Code Manager](https://wordpress.org/plugins/insert-headers-and-footers/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/insert-headers-and-footers/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/insert-headers-and-footers/)
 * [Active Topics](https://wordpress.org/support/plugin/insert-headers-and-footers/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/insert-headers-and-footers/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/insert-headers-and-footers/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [itsgotime](https://wordpress.org/support/users/itsgotime/)
 * Last activity: [3 years, 7 months ago](https://wordpress.org/support/topic/proper-way-to-insert-css-code-with-plugin-2/#post-16162484)
 * Status: resolved