Title: CSS register style
Last modified: August 21, 2016

---

# CSS register style

 *  [Linards](https://wordpress.org/support/users/linards/)
 * (@linards)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/css-register-style/)
 * Hi, Im having a problem to register and load a gallery css code fro my home page.
   Rest of the styles are loading fine, but this flexslider is ot registering. Any
   guidance appreciated.
 *     ```
       <?php 
   
       function theme_styles() {
   
       	wp_enqueue_style ('normalize', get_template_directory_uri() . '/css/normalize.css');
       	wp_enqueue_style ('grid', get_template_directory_uri() . '/css/grid.css');
       	wp_enqueue_style ('main', get_template_directory_uri() . '/style.css');
   
           wp_register_style( 'flexslider', get_template_directory_uri() . '/css/flexslider.css' );
           if( is_page( 'home' ) ) {
               wp_enqueue_style( 'flexslider' );
           }
       }
       add_action( 'wp_enqueue_scripts', 'theme_styles' );
   
       // Enable custom menus
       add_theme_support( 'menus' );
   
       ?>
       ```
   
 * Many thanks

The topic ‘CSS register style’ is closed to new replies.

 * 0 replies
 * 1 participant
 * Last reply from: [Linards](https://wordpress.org/support/users/linards/)
 * Last activity: [12 years, 7 months ago](https://wordpress.org/support/topic/css-register-style/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
