You don’t need a child theme in order to add custom CSS to your WordPress theme. If all you need is to add custom CSS, there is a quicker, easier way.
Child themes are only needed when you want to change
.php
files or add custom functions.The easiest way to add custom CSS is with the WordPress built-in Customizer. Since WordPress 4.7, you can add custom CSS to your WordPress site, very easily.
- In your WordPress dashboard, go to Appearance –> Customize.
- Click on the “Additional CSS” tab.
- Enter or paste your custom CSS in the box.
- Click “Save & Publish”.
You can even preview how the CSS styles appear before you click “Save & Publish”. When you paste or type custom CSS here, you’ll be able to live preview it in the side window.
Bhaskar Chakraborty
February 24th, 2017 at 4:02 am
I am doing this(Adding custom CSS) wrong way all the years…Thanks for this tip….