WORDPRESS

How to Add Custom CSS to Your WordPress Website

Published by
Suman Kumar

Sometimes, there is a need to add Custom CSS to the WordPress website. Using FTP is very confusing for beginners, so there is an easier way to add CSS to the WordPress website. In this article, we will show you how to add custom CSS to the WordPress website without editing the program files.

Here are the 2 methods of adding the Custom CSS to the WordPress website.

1. Add Custom CSS

The owner of the website can directly add the Custom CSS from the WordPress dashboard. It is the super easy way and you would also be able to see the changes with a preview option.

Go to the Appearance >> Customize

wordpress appearance cutomize


This will open the interface of WordPress theme customizer
. You will check your website’s preview with the bunch of other options on the left side. Tab on the Additional CSS to edit.

This will open to show the box where you can add the custom CSS. Now, you can add the CSS code and check the change in the live preview. You can change or add more custom code, until you get what you want.

Once the code edit is done, Tab the Publish button on the top.

2. Adding Custom CSS Using a Plugin

This second method requires you to add a plugin. It is particularly useful for those who are using 4.7 or later version of WordPress.

Firstly, install and activate the Simple Custom CSS plugin. After activation simply go to the Appearance >>  Custom CSS and write down the CSS code. Click on the update Custom CSS button to update the CSS code. Now you can see the changes in your website.

Note: The advantage of using the plugin is that the changes in the CSS code will be available even when you change the theme.

Custom CSS plugin vs CSS Code in Theme

Beginners can use both the above methods. But, the advanced users can also add CSS code directly to the themes.

Adding the CSS code in the parent theme is not recommended. If you update the theme without saving the Custom CSS changes, your custom CSS changes will be lost.

It is recommended to use the child theme instead of parent theme. Due to lack of understanding and complications, many beginners are not able to make the child theme. They may also not idea how to use the child theme other than just adding the code.

If you want to store the custom code CSS separately from the theme then install the custom CSS plugin. This plugin helps in switching the theme without losing the custom CSS.

If you really find this article helpful then share it with your friends and also on Facebook, and Twitter.

This post was last modified on July 11, 2024

Suman Kumar

Suman Kumar is a writer with over 3 years of experience at eBLOGTALK. He is a full-time blogger who love writing with his passion for SEO, Technology, Blogs, Reviews, and link building strategy. He helps marketers and entrepreneurs to find the keys of online success and revenue growth without any huddle.

Recent Posts

  • WORDPRESS

13 Reasons Why We Should Use WordPress for Our Websites 2024

We all know that the only developer has the power to build a website. There…

July 31, 2024
  • OFFPAGE

Top 100+ Social Bookmarking Sites List 2024 (Free & High DA)

Bookmarking is a link-building strategy that acquires backlinks and drives traffic to the website. If…

July 31, 2024
  • SEO
  • SEO TOOLS

23 Best SEO Tools to Optimize the Website 2024 (Free and Paid)

How often have you read that if you want to take your website to the…

July 30, 2024
  • Blog

9 Successful Entrepreneurs in India (2024)

Successful Young Entrepreneurs In India: The dream weavers who planned ambition with innovation to sculpt tomorrow's…

July 29, 2024
  • ONPAGE

How To Remove The Date and HTML From The Blogger Post URL

Remove date and .html from Blogger Post URL: If you are new to blogging and…

July 27, 2024
  • WORDPRESS

How to Install Google Tag Manager in WordPress

Do you want to install Google Tag Manager in WordPress? Google Tag Manager is a…

July 26, 2024