How To Customize WordPress Site By Adding Custom CSS

Many times we want things according to our way, especially when we are paying for the things. WordPress themes are one of them and it consists of a deep and dense jungle of thousands of line of code which makes one perfect theme. It’s pretty hard for a non-techy person to crawl into this web of code and customize it according to its own need. In this article, we will show you how to customize wordpress site by adding custom CSS without editing any theme files.

There are two ways to which we can add a custom CSS to our wordpress theme,

1st Method: Using Theme in-built Options

As soon as WordPress 4.7 (Vaughan) launched it brought along a lot of new changes and adding a custom css is one of them, users can now add custom CSS directly from WordPress admin area. This is extremely easy to do and as usual, users can now see the live preview as soon as they are making any changes to the website.

Head over to Themes »»» Customize page.

 

As soon as you’ll click on customize, WordPress theme customizer interface will be launched.

You will see your site’s live preview with a bunch of options on the left pane. Click on the Additional CSS tab at the last in the left pane.

 

Through this tab, you can add your custom CSS and as soon as you add a correct CSS rule, you will be able to see the changes on your website’s live preview box on the right.

You can add multiple custom CSS code, to make changes to your website. Add the code until the site becomes as you want it to be, but don’t forget to hit the ‘Save and Publish’ button once you are done with your changes.

Note: Any custom CSS that you add using theme customizer is only available with that particular theme. If you would like to use it with other themes, then you will need to copy and paste it to your new theme using the same method.

2nd Method: With The Help Of Plugin

As method name suggest, we will require a plugin to help us edit our websites CSS. It is majorly useful for users who using the previous version than WordPress 4.7.

The first thing you need to do is install and activate the Simple Custom CSS plugin. Upon activation, you need to go to Appearance »»» Custom CSS and paste or write down your CSS code.

 

Always remember to press the ‘Update Custom CSS’ button to save your CSS.

The custom CSS that you have implemented is now live, you can see it in action on the live version of your website.

Note: Another sure shot advantage of using this method is that your custom CSS will be available even when you change your theme.

Using a Custom CSS plugin vs Adding CSS in Theme

Both methods described above are recommended for beginners as advanced users have the privilege to add custom CSS directly to their themes as they have sound knowledge of the consequences they can bear if a single piece of code goes wrong.

However, adding custom CSS snippets into your parent theme is not recommended. Your CSS changes will be lost if you accidentally update the theme without saving your custom changes.

The best way to get rid of all problems at once is to implement changes on a child theme. However, many beginners don’t want to or don’t know how to create a child theme. Apart from adding custom CSS they really don’t know how they will be using that child theme.

Added advantage of using custom CSS plugins is that it allows you to store your CSS away from your main theme so that in the case of any updates, there will be no harm either to your CSS files or to your main theme. This way you can easily switch themes and your custom CSS will still be there.

Another great way to add custom CSS to your WordPress site is by using the CSS Hero plugin. This wonderful plugin allows you to edit almost everything in your WordPress site without writing a single line of code. Sounds interesting, isn’t it!

There is a video guide of this blog post, for people who find reading as their last hope, do check out this video.

We hope this article helped you to learn how to customize wordpress site by adding custom CSS. You may also want to see how our guide on how to setup Google AMP ( Accelerated Mobile Pages) on your website as the new google search update demands it or in that case learn about some SEO tips to follow for 2017.

If you liked this article, then please subscribe to our YouTube Channel for more amazing WordPress video tutorials. You can also find us on Twitter and Facebook.

Danish Ansari

View Comments

  • Hey Danish,

    I always prefer the inbuilt option. An option to add the custom CSS wasn't there in WordPress before so I used to add a space in the WordPress theme itself.

    While developing the WordPress themes, I always like to do everything using the codes. It's easier than everyone things.

    Plugins are not recommended. Every conflict occurs due to any plugin.
    ~Ravi

    • Hey Ravi,

      That's great to hear, even I prefer the inbuilt option but many non-techy people are afraid of messing with the CSS of the theme as they have fear of things going west. So the plugin option is a whole lot easier for them.

      Although, 4.7 Vaughan made it much easier by adding Custom CSS box in Appearance itself. I think now people will show courage to experiment it.

  • Another thing (faster than adding CSS to whole website) is using plugin like "Custom CSS Injector" (I was involved in it).

Recent Posts

Top 5 Blogging Platform 2024: Complete Guide

Having a blog is a great thing because you can share anything you want there…

1 month ago

How To Make High Quality Backlinks For Website

Have you recently built a new website? Are you looking for an SEO guy to…

2 months ago

Top Ways To Earn Money Without Google Adsense

As a blogger or content marketer everyone dreams about making money by sharing knowledge or…

4 months ago

10 Best Online Content Writing And Editing Tools: To Write SEO-Optimized Content

If you want to increase your traffic and user engagement you must think about how…

4 months ago

Getting Into the Logistics School of Your Dreams

In today's speedily changing business community, education is vital. Whether you are expecting to hone…

11 months ago

What Is Data Space Germany?

Data room germany is actually a cloud-based platform which offers secure and specialised storage space…

11 months ago