Title: Child Theme
Last modified: August 31, 2016

---

# Child Theme

 *  [romainradz](https://wordpress.org/support/users/romainradz/)
 * (@romainradz)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/child-theme-191/)
 * Hi
 * I’ve made a child theme for your theme Nisarg and I have some problems with, 
   no sidebar, problem with “bootstrap.css”, etc.
 * For example, for my top-menu : if I’m using your theme, my menu is on the right
   but as soon as I’m using my child-theme, the menu is floating “left”.
 * I do not now how to fix it ? Do you have any idea ?
 * Problem example :
 * using your theme >> .navbar-nav {float : right} via style.css:524
 * using my child theme >> .navbar-nav { float: left } which is loaded via bootstrap.
   css:4403 [@media](https://wordpress.org/support/users/media/) (min-width: 768px);
 * My child theme has style.css and function.php where I’m using :
    wp_enqueue_style(‘
   parent-style’, get_template_directory_uri() . ‘/style.css’);

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

 *  [jaschilz](https://wordpress.org/support/users/jaschilz/)
 * (@jaschilz)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/child-theme-191/#post-7203990)
 * I ran into the same problem!
 * I solved it by using the functions.php code from this guide: [https://themify.me/docs/child-themes](https://themify.me/docs/child-themes)
 *     ```
       <?php
       /**
       * Enqueues child theme stylesheet, loading first the parent theme stylesheet.
       */
       function themify_custom_enqueue_child_theme_styles() {
           wp_enqueue_style( 'parent-theme-css', get_template_directory_uri() . '/style.css' );
       }
       add_action( 'wp_enqueue_scripts', 'themify_custom_enqueue_child_theme_styles', 11 );
       ```
   
 *  [appleuser](https://wordpress.org/support/users/appleuser/)
 * (@appleuser)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/child-theme-191/#post-7204005)
 * @jaschlitz thx .. this solved my problem, too. the loading position of the add_action
   is the solution 🙂

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

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

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

## Tags

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

 * 2 replies
 * 3 participants
 * Last reply from: [appleuser](https://wordpress.org/support/users/appleuser/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/child-theme-191/#post-7204005)
 * Status: not resolved