how to recover wordpress additional css - code on black background

How to Recover WordPress Additional CSS in 2022 (Step-by-Step) – In this article I show you how to recover WordPress additional CSS step-by-step.

By reading this blog post you will learn what CSS is, how to add custom CSS in WordPress and how to recover WordPress additional CSS.

General Questions

What is CSS?

CSS stands for Cascading Style Sheet (or Stylesheet) and is a design language created for customizing the presentation of web pages.

What is WordPress?

WordPress is a free and open-source content management system (CMS) used by +27 million websites globally.

What is WordPress Custom CSS?

WordPress Custom CSS is a functionality that allows you to add CSS directly from your dashboard and without editing your stylesheet file.

How to Add Additional CSS in WordPress?

To add additional CSS in WordPress, please follow these easy steps:

  1. From your WordPress dashboard, mouse over on ‘Appearance’ and click on ‘Customize’
  2. On the left menu, scroll down to and click on ‘Additional CSS’
  3. Add the desired style code and click on ‘Publish’ once you are finished
1. From your WordPress dashboard, mouse over on ‘Appearance’ and click on ‘Customize’
2. On the left menu, scroll down to and click on ‘Additional CSS’
3. Add the desired style code and click on ‘Publish’ once you are finished

What is a Database?

A database is a collection of data typically structured into tables and stored and accessed electronically.

How to Recover WordPress Additional CSS

To recover WordPress Additional CSS follow these easy steps:

  1. Log into your website cpanel (control panel) and click on ‘Databases’
  2. Click ‘Enter phpMyAdmin’ next to your website database
  3. Select SQL from the database top navigation
  4. Paste the following code: SELECT * FROM wp_posts WHERE post_type = 'custom_css'.
  5. Click ‘Go’
  6. Click ‘Edit’ next to the displayed table row
  7. Copy your WordPress Custom CSS and paste it back onto your website Appearance > Customize > Custom CSS
1. Log into your website cpanel (control panel) and click on ‘Databases’
2. Click ‘Enter phpMyAdmin’ next to your website database
3. Select SQL from the database top navigation
4. Paste the following code: SELECT * FROM wp_posts WHERE post_type = ‘custom_css’ and 5. Click ‘Go’
6. Click ‘Edit’ next to the displayed table row
7. Copy your WordPress Additional CSS and paste it back onto your website from Appearance > Customize > Custom CSS

Please note that depending on your hosting provider your control panel (cpanel) might look different from the one in the example. For example, in Odin control panels, your databases can be found under More Services > Databases.

Featured image by Pankaj Patel on Unsplash.com

Author

Pasquale Mellone

Pasquale is Founder at Increasily.com, a H2H marketing agency based in Dublin, Ireland, and owner at print-on-demand ecommerce Mintycase.com. Pasquale has worked in Digital Marketing and Account Management since 2004. He currently lives in Dublin with his wife, stepdaughter and cat.