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
- Navigate to Appearance > Editor.
- Select Astra child theme to edit, from the upper right corner.
- Select Stylesheet (style.css) to edit and paste the code at bottom of the file.
- Save the changes.
- Open your WordPress site via FTP. We would recommend you to use FileZilla.
- Navigate to wp-content > themes > astra-child
- Right-click style.css and select View/Edit
- Add your code at the bottom of the file and save it.