How to Edit style.css in Child Theme?

How to Edit style.css in Child Theme?

If you want to add custom CSS to the theme you can add it to the child theme’s style.css

Initially, you need to install and activate the Astra child theme. You can edit child theme’s style.css  in following ways-

Through WordPress Dashboard

Step 1: Navigate to Appearance > Theme Editor.

ast-theme-file-editor

Step 2: Select Astra child theme to edit, from the upper right corner.

Step 3: Select Stylesheet (style.css) to edit and paste the code at bottom of the file.

ast-child-theme

Step 4: Save the changes.

Through FTP

  1. Open your WordPress site via FTP. We would recommend you to use FileZilla.
  2. Navigate to wp-content > themes > astra-child
  3. Right-click style.css and select View/Edit
  4. Add your code at the bottom of the file and save it.
Was this doc helpful?
What went wrong?

We don't respond to the article feedback, we use it to improve our support content.

On this page

Take the First Step Toward Success Now.

You’re backed by an amazing team and a risk-free money-back guarantee!

Download is Just A Click Away!

Enter your email address and be the first to learn about updates and new features.

This field is required.

REWIND

YEAR IN REVIEW

Scroll to Top
Now choose your preferred
page builder addon
Choose your preferred page builder addon

Download is Just A Click Away!

Enter your email address and be the first to learn about updates and new features.

Download Free Astra Theme - Modal Popup Form