How to Add a Custom CSS Code to Your WordPress Blog
Sometimes you may need to add custom CSS code to your WordPress blog. If using an FTP client seems a little more complex, then there is a much easier way to add CSS code to your blog.
In this tutorial, I will show you how to add custom CSS code to your WordPress blog, without modifying a file of your theme.
The first thing to do is to install and activate the extension " Simple Custom CSS“, Which you can download for free at WordPress.org. After activation, all you have to do is navigate to the location " Appearence> Custom CSS And write your custom CSS code.
Don't forget to save your settings. You can now see your website in action.
Use Custom CSS VS Custom CSS Code Added to Theme
Adding CSS code to a parent theme is not recommended, because indeed when the theme is updated, all changes made will be lost.
The best approach is to use a child theme instead. However, many beginners do not know or do not wish to create a child theme. Other than adding CSS, they don't know how they will use this child theme.
Using a plugin to add custom CSS code allows you to save your CSS settings independently (theme). That way, if you change the theme, your CSS changes will still apply.
Another way would be to use the plugin CSS Hero, which is a paid plugin for WordPress. This plugin allows you to edit almost anything on your CSS blog without having to touch a single line of code.
Easily create your Online Store
Download free WooCommerce, the best e-commerce plugins to sell your physical and digital products on WordPress. [Recommended]
That's all there is to know about adding custom CSS code to your WordPress blog. Please feel free to share this tutorial with your friends.
This article features 0 comments