How To Customize WordPress Theme CSS
Why you want to customize WordPress theme CSS?
You choose the colors, font-families, font-sizes, background and many other things of your interest. Sometimes, your client demands the changes in theme. These changes includes alignment settings, width and height of the page, and headers and footers. In short, you make these changes to give your website a neat look.
You can edit the CSS directly from your WordPress administrator (WP Admin) account. Alternatively, you can do it by using plugins. Let us check both the ways out.
Using WP Admin
Every theme must have a
style.css file. With this method, you can inspect and make changes at Style.css of the theme.
What do you need to edit CSS?
You need few of the important things to edit the CSS of your WordPress theme. These items are listed below:
- Web browser
- A text editor
- Administration access to WordPress administration panel
- Basic development knowledge
- FTP (File Transfer Protocol)
Where you find CSS file?
Use your website admin account to access your WP Admin and then go to Appearance -> Editor. The first window appears to you is your
style.css file. All the basic CSS to edit your WordPress theme is available there. Some heavy content themes contain other css files too. These files can be seen on the left hand side under the heading of templates at the same screen.
How to Customize CSS with UI?
With the new version of WordPress, you can also customize your styling through the Theme Customize option. This option can be find at Appearance -> Customize. Mouse over on your theme and go to the Live Preview option.
This customization is probably easy for the non-developers. Mostly all the themes allow you to customize this way, but those themes that won’t allow such customization have their own respective ways. You can see the access to change the following styling from the Customize option in the image below.
This is a smart way of playing with CSS. Mostly people do not want to take the risk of editing the
style.css, so they use third-party plugins to write their own CSS. This will help them in staying more secure with the main code of the theme as the default CSS will be there. If anything goes wrong, you just disable the plugin.
Lets discuss the plugins which can help you customize WordPress theme CSS.
1. Custom CSS by Dev7studios
This plugin has multiple features, including an editor with the code syntax. With the help of this plugin, you can see the changes before saving it. This is helpful in cases where you are not sure with the results. This will appear under the Appearance section as Custom CSS. You can find this plugin here for free.
2. Simple Custom CSS
This plugin runs under an active author who have tested it with the latest versions of WordPress. The features of this plugin include a simple interface, beautiful code syntax and much more. You can find this plugin here.
3. My Custom CSS
This plugin uses the Syntax by CodeMirror color and tab. Before using it, you can see a live demo at their website. Interesting part! It is also available in Italian. You can find this plugin here.
There are many other plugins available on internet and WordPress repository. I found these 3 plugins to be the best ones for editing your WordPress theme CSS. I hope you know that one plugin from these three is enough for you. You can share your favorite plugins which helped you to write custom CSS in the Comments section below.