Title: style.css
Last modified: August 30, 2016

---

# style.css

 *  Resolved [dimitris33](https://wordpress.org/support/users/dimitris33/)
 * (@dimitris33)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/stylecss-20/)
 * Hi, first of all, thank you for sharing this theme, it’s really nice.
 * but 🙂
 * your style.css is empty and i am trying to add a rule like
 * css
    body { background:red; }
 * `
 * and i dont see it and with firebug i dont see style.css loaded at all (?)
 * what am i missing?
 * i found this thread [https://wordpress.org/support/topic/child-theme-172?replies=25](https://wordpress.org/support/topic/child-theme-172?replies=25)
   where you suggest to use style.css in a child theme, does this mean that this
   is the only way style.css is called?
 * Thank you.

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

 *  Thread Starter [dimitris33](https://wordpress.org/support/users/dimitris33/)
 * (@dimitris33)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/stylecss-20/#post-6561229)
 * just tried with a child theme and i see it, so is this how i can use the style.
   css ? only with a child theme?
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/stylecss-20/#post-6561234)
 * You should never edit a WPORG theme itself. You need to create a [child theme for your changes](http://codex.wordpress.org/Child_Themes)
   or install a [custom CSS plugin](http://wordpress.org/extend/plugins/search.php?q=custom+css).
 *  Thread Starter [dimitris33](https://wordpress.org/support/users/dimitris33/)
 * (@dimitris33)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/stylecss-20/#post-6561237)
 * agreed, its just the first time i see a theme not calling the style.css at all
   and i was curious to find how it works.
 *  [hannah](https://wordpress.org/support/users/hannahritner/)
 * (@hannahritner)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/stylecss-20/#post-6561346)
 * You can add any custom css in the custom css box (theme options > advanced settings).
   Is that what you mean?
 * Hannah
 *  Thread Starter [dimitris33](https://wordpress.org/support/users/dimitris33/)
 * (@dimitris33)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/stylecss-20/#post-6561406)
 * Hi hannah,
 * the issue i had was that when i tried to add css in style.css in the parent directly
   it was not loaded and when i looked in the source code style.css was missing.
   This is different than most themes available but apparently this is how it works.
 * for reference you can child theme the theme and use normally style.css to add
   rules but not in the parent directly.
 * please correct me if i am wrong.
 *  [Ben Ritner – Kadence WP](https://wordpress.org/support/users/britner/)
 * (@britner)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/stylecss-20/#post-6561466)
 * Hey
    You are not wrong in that you can’t use the parent style.css it’s not enqueued.
   It’s used by wordpress to pull the theme info but it’s not used as a css file
   in the theme. (plenty of themes do it this way). But the main thing is you shouldn’t
   edit that. Child themes work normally and you can also use the css box in your
   theme options.
 * Hope that helps,
 * Kadence Themes
 *  Thread Starter [dimitris33](https://wordpress.org/support/users/dimitris33/)
 * (@dimitris33)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/stylecss-20/#post-6561526)
 * Thanks for the reply, btw using the style.css in my child theme does not require
   an [@import](https://wordpress.org/support/users/import/) or
 *     ```
       add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );
       function theme_enqueue_styles() {
           wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
   
       }
       ```
   
 *  [Ben Ritner – Kadence WP](https://wordpress.org/support/users/britner/)
 * (@britner)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/stylecss-20/#post-6561532)
 * Hey no it doesn’t with this theme.
 * Kadence Themes
 *  [beginwithwp](https://wordpress.org/support/users/beginwithwp/)
 * (@beginwithwp)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/stylecss-20/#post-6561545)
 * Hallo,
 * I have a problem with child theme.
    I am using “kadencethemes: virtue-premium”.
   And I made ‘virtue_premium_child’ and ofcourse style.css in “virtue_premium_child”.
   I put the code(@import url(“../virtue_premium/style.css”);) in style.css. After
   that, I activated “virtue_premium_child”. And then comes the problem. “nav main
   menu” which located next to logo disappeared. Can sombody help me?
 *  Thread Starter [dimitris33](https://wordpress.org/support/users/dimitris33/)
 * (@dimitris33)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/stylecss-20/#post-6561546)
 * if i am not mistaken you don’t need you don’t need to import the style.css.Your
   menu may need to be set again from appearance>menus
 *  [beginwithwp](https://wordpress.org/support/users/beginwithwp/)
 * (@beginwithwp)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/stylecss-20/#post-6561547)
 * Hallo dim,
 * I did exactly what you mentioned. It works as it should.
    Million times thanks
   for fast and correct reply.
 *  Thread Starter [dimitris33](https://wordpress.org/support/users/dimitris33/)
 * (@dimitris33)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/stylecss-20/#post-6561548)
 * Happy to help.

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

The topic ‘style.css’ is closed to new replies.

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

## Tags

 * [child theme](https://wordpress.org/support/topic-tag/child-theme/)
 * [style](https://wordpress.org/support/topic-tag/style/)

 * 12 replies
 * 5 participants
 * Last reply from: [dimitris33](https://wordpress.org/support/users/dimitris33/)
 * Last activity: [10 years, 7 months ago](https://wordpress.org/support/topic/stylecss-20/#post-6561548)
 * Status: resolved