At times, you might need to add Custom CSS to your WordPress website. One reason might be due to the fact that you’ve been following some tutorial on WordPressManual.
One way of doing this is by the use of FTP, however, if using FTP seems too complex, there is a much simpler way of doing it. In this tutorial, we’ll teach you the best way of adding custom CSS to your WordPress website without the need of editing any theme files.
Let’s get going!
The first thing you will have to do is install a free WordPress plugin called Easy Custom CSS plugin. After activating it, you just have to go to “Appearance” >> “Custom CSS” to type or paste your custom CSS code.
Thereafter, click the “Upgrade Custom CSS” button to have your CSS saved. Don’t forget to do this.
Your custom CSS is now in action and you can reload your website to see this yourself.
However, you should have it at the back of your mind that if you upgrade your theme without saving your custom changes, you will likely lose all the CSS changes.
Adding CSS in Theme Vs. Using a Custom CSS Plugin
When you add custom CSS codes to your theme, you stand the risk of losing your CSS changes when you update your theme or switch theme.
The best thing to do is to use a child theme. Nevertheless, lots of beginners don’t always want to create child themes. Besides adding custom CSS to these child themes, they don’t know what else to use them for. We’ve got you covered actually. You can check our tutorial on how to create a child theme in WordPress here.
However, using a CSS plugin gives you the privilege of independently storing your custom CSS code. When you switch or update your theme, the custom CSS code will remain intact.
Another easy plugin you can use is the CSS Hero Plugin. This fantastic plugin gives you the ability to edit virtually everything in your WordPress site without knowing the nitty-gritty of CSS coding. Not a single line of code will you write!
We hope this tutorial came in handy in learning how to add custom CSS in WordPress. We also have a tutorial on How to Change Font in WordPress. You may want to check it out. Nonetheless, you are free to post your comment about this tutorial in the comment box. We would love to hear your WordPress experience.