Title: child theme create width problem
Last modified: December 9, 2020

---

# child theme create width problem

 *  [nevoerez1](https://wordpress.org/support/users/nevoerez1/)
 * (@nevoerez1)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/child-theme-create-width-problem/)
 * After I created a child theme, I recieved a bug on chromeץ
    The site width is
   infinite.
 * style.css is empty. only the first settings:
 * /*
    Theme Name: PartiezT-Child Theme URI: [https://www.partiez.co.il/](https://www.partiez.co.il/)
   Description: A PartiezT child theme Author: Erez Author URI: [https://www.partiez.co.il/](https://www.partiez.co.il/)
   Template: twentytwenty Version: 1.0.0 */
 * <?php
    /* enqueue script for parent theme stylesheeet */ function childtheme_parent_styles(){
 *  // enqueue style
    wp_enqueue_style( ‘parent’, get_template_directory_uri().’/
   style.css’ ); } add_action( ‘wp_enqueue_scripts’, ‘childtheme_parent_styles’);
 * When I return to Twenty Twenty theme, the problem fixed.
    When I return to child
   theme, the problem return.
 * I also tried to created one more child theme, but the same problem.
 * Is there any idea what is the problem?
    functions.php include
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fchild-theme-create-width-problem%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Thread Starter [nevoerez1](https://wordpress.org/support/users/nevoerez1/)
 * (@nevoerez1)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/child-theme-create-width-problem/#post-13766288)
 * UPDATE:
 * On child theme when worpress language is HEBREW, problem exits.
    On twenty twenty
   theme when worpress language is HEBREW, not have problem. On child theme when
   worpress language is ENGLISH , not have problem.
 *  Anonymous User 14254218
 * (@anonymized-14254218)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/child-theme-create-width-problem/#post-13770836)
 * Is it possible set the language to hebrew again and leave it like that a bit?
   You can [@link](https://wordpress.org/support/users/link/) me so I get a dm when
   you reply.
 * I will take a look after work then.
 *  Thread Starter [nevoerez1](https://wordpress.org/support/users/nevoerez1/)
 * (@nevoerez1)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/child-theme-create-width-problem/#post-13772721)
 * I change it to hebrew.
    [@raqai ](http://@raqai), you can check it.
 * Thanks
 *  Anonymous User 14254218
 * (@anonymized-14254218)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/child-theme-create-width-problem/#post-13773261)
 * [@nevoerez1](https://wordpress.org/support/users/nevoerez1/) thank you.
    I found
   the issue and yea, it is related to the language settings or rather to the “RTL”
   support. You can check the developer console (eg. in Chrome) which will tell 
   you that the “style-rtl.css” file is missing (404 code).
 * If you setup your instance to work with a RTL language, you will need to also
   provide a `style-rtl.css` file for your child theme.
 * You should be able to basically copy your `style.css` and also save it as `style-
   rtl.css`.
    I am not 100% certain about this, but I think that the “-rtl” is appended
   automatically. This means you still need to enqueue the “styles.css”, not “styles-
   rtl.css”.
 * I would suggest reading the [Right-to-Left Language Support](https://codex.wordpress.org/Right_to_Left_Language_Support)
   codex documentation for further reading and additional solutions which might 
   suite your development workflow better.

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

The topic ‘child theme create width problem’ is closed to new replies.

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

## Tags

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

 * 4 replies
 * 2 participants
 * Last reply from: Anonymous User 14254218
 * Last activity: [5 years, 5 months ago](https://wordpress.org/support/topic/child-theme-create-width-problem/#post-13773261)
 * Status: not resolved