Title: Adding CSS to Child Theme
Last modified: March 30, 2017

---

# Adding CSS to Child Theme

 *  [galia1902](https://wordpress.org/support/users/galia1902/)
 * (@galia1902)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/adding-css-to-child-theme-2/)
 * I added scss code to /sass/theme/_child_theme.scss
    but it does not seem to be
   working. Am I doing it wrong?
 *     ```
       //colors
       $white: white;
       $black: black;
       $red: red;
   
       .navbar-toggleable-md {
       	background-color: $white!important;
       }
       .navbar-toggler-icon {
       	background-color: $black!important;
       }
       .navbarNavDropdown {
       	color: $black!important;
       	float: left!important;
       }
       .nav-link {
       	color: $red!important;
       }
       .page-id-65 div {
       	margin: auto !important;
       }
       ```
   

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [understrap](https://wordpress.org/support/users/holger1411/)
 * (@holger1411)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/adding-css-to-child-theme-2/#post-8976900)
 * How do you compile it to css?
 *  Thread Starter [galia1902](https://wordpress.org/support/users/galia1902/)
 * (@galia1902)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/adding-css-to-child-theme-2/#post-8983729)
 * oh I get it… using the css editor for now.
    thanks for the quick replies!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Adding CSS to Child Theme’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/understrap/1.2.4/screenshot.png)
 * Understrap
 * [Support Threads](https://wordpress.org/support/theme/understrap/)
 * [Active Topics](https://wordpress.org/support/theme/understrap/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/understrap/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/understrap/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [galia1902](https://wordpress.org/support/users/galia1902/)
 * Last activity: [9 years, 2 months ago](https://wordpress.org/support/topic/adding-css-to-child-theme-2/#post-8983729)
 * Status: not resolved