Title: enqueue child/parent stylesheets
Last modified: August 24, 2016

---

# enqueue child/parent stylesheets

 *  [cmchugh67](https://wordpress.org/support/users/cmchugh67/)
 * (@cmchugh67)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/enqueue-childparent-stylesheets/)
 * I am creating a child’s theme for the first time using the enqueue method rather
   than [@import](https://wordpress.org/support/users/import/). My question concerns
   the code that is to be included in the functions.php file:
 * //
    add_action( ‘wp_enqueue_scripts’, ‘theme_enqueue_styles’ ); function theme_enqueue_styles(){
   wp_enqueue_style( ‘parent-style’, get_template_directory_uri() . ‘/style.css’);
 * }
    //
 * Is this a straight copy and paste? Or do I need to edit ‘parent-style’ or ‘/style.
   css’?
 * Something seems to be wrong with my stylesheets for nameofgamebook.com. As you
   can see, for example, the red background for “BUY NOW” in the navigation works
   on the Home, Contact and Buy Now pages, but not for The Book or The Author.

The topic ‘enqueue child/parent stylesheets’ is closed to new replies.

## Tags

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

 * 0 replies
 * 1 participant
 * Last reply from: [cmchugh67](https://wordpress.org/support/users/cmchugh67/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/enqueue-childparent-stylesheets/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
