Title: css error in child theme
Last modified: November 23, 2017

---

# css error in child theme

 *  [hmahraj](https://wordpress.org/support/users/hmahraj/)
 * (@hmahraj)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/css-error-in-child-theme/)
 * Hi guys,
    I have 2 errors in my Modality Child 01: Stylesheet (style.css) that
   I hope somebody can help me with. I have to fix them before I can update the 
   theme as there is a warning message that the errors might break the site if I
   don’t. Are they serious enough to do that? I have tried a couple of things but
   it didn’t make the scary red error icons go away.
 * `width: 100%;`
    Error-Expected a FUNCTION or INDENT after colon at line 19, col
   10.
 * `background-repeat: no-repeat;`
    Error- Expected a FUNCTION or INDENT after colon
   at line 51, col 20.
 * There is hopefully a simple correction that will fix these 2 errors.
 * Thank you for your help.
    -  This topic was modified 8 years, 5 months ago by [hmahraj](https://wordpress.org/support/users/hmahraj/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcss-error-in-child-theme%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

The topic ‘css error in child theme’ is closed to new replies.

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

## Tags

 * [CSS error](https://wordpress.org/support/topic-tag/css-error/)

 * 0 replies
 * 1 participant
 * Last reply from: [hmahraj](https://wordpress.org/support/users/hmahraj/)
 * Last activity: [8 years, 5 months ago](https://wordpress.org/support/topic/css-error-in-child-theme/)
 * Status: not resolved