Title: changes in main.css (child theme) needs function.php changes
Last modified: August 21, 2016

---

# changes in main.css (child theme) needs function.php changes

 *  [Perdidisima](https://wordpress.org/support/users/perdidisima/)
 * (@perdidisima)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/changes-in-maincss-child-theme-needs-functionphp-changes/)
 * Hi!
    First of all Your theme is gorgeus. I made a child theme to change some 
   style, change the width of sidebar and also change text to spanish. But code 
   from main.css or nivo.css or even from content-sidebar.css don´t work.
 * For example, changes in main.css
    main.css is inside this folder (theme/sixteen/
   css/main.css) from parent theme. I have created a folder (theme/sixteen-child/
   css/main.css) with the same path to change fonts..etc but it doesn´t work.
 * I think that I have to create a functions.php in the child theme and change some
   code from functions.php but I don´t know what exactly.
 * Can you help me?
 * function sixteen_scripts() {
    wp_enqueue_style( ‘sixteen-fonts’, ‘//fonts.googleapis.
   com/css?family=Roboto:400,300,700’); wp_enqueue_style( ‘sixteen-basic-style’,
   get_stylesheet_uri() ); if ( (function_exists( ‘of_get_option’ )) && (of_get_option(‘
   sidebar-layout’, true) != 1) ) { if (of_get_option(‘sidebar-layout’, true) ==‘
   right’) { wp_enqueue_style( ‘sixteen-layout’, get_template_directory_uri().”/
   css/layouts/content-sidebar.css” ); } else { wp_enqueue_style( ‘sixteen-layout’,
   get_template_directory_uri().”/css/layouts/sidebar-content.css” ); } } else {
   wp_enqueue_style( ‘sixteen-layout’, get_template_directory_uri().”/css/layouts/
   content-sidebar.css” ); } wp_enqueue_style( ‘sixteen-main-style’, get_template_directory_uri().”/
   css/main.css”, array(‘sixteen-fonts’,’sixteen-layout’) );
 * My web is [http://www.algomasquesexo.com](http://www.algomasquesexo.com)

The topic ‘changes in main.css (child theme) needs function.php changes’ is closed
to new replies.

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

 * 0 replies
 * 1 participant
 * Last reply from: [Perdidisima](https://wordpress.org/support/users/perdidisima/)
 * Last activity: [12 years, 1 month ago](https://wordpress.org/support/topic/changes-in-maincss-child-theme-needs-functionphp-changes/)
 * Status: not resolved