Title: Wrong order enqueuing CSS after Update
Last modified: September 16, 2022

---

# Wrong order enqueuing CSS after Update

 *  [casimich](https://wordpress.org/support/users/casimich/)
 * (@casimich)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/wrong-order-enqueuing-css-after-update/)
 * Good morning,
 * the newest update contains a change in enqueuing the css-files.
 * If you use a childtheme, the childtheme’s style.css will be enqueued by the parenttheme.
   But now “sydney-style-min” will be enqueued after “sydney-style”, causing the
   parenttheme-css to overwrite the css of the childtheme-css.
 * That`s a bis problem! Please fix it.
 * As a hack until an update, one can change the order of the enqueuing of the css-
   files in the functions.php (starting at line 225).
 * Additionaly it would be nice, if you could change the versioning of “sydney-style”
   from the date of the last change of the parenttheme to the last timestamp of 
   change of the style.css:
    wp_enqueue_style( ‘sydney-style’, get_stylesheet_uri(),”,‘
   20220824’ ); changing to wp_enqueue_style( ‘sydney-style’, get_stylesheet_uri(),”,
   date( “Ymd.His”, filemtime( get_stylesheet_directory() . “/style.css” ) ));
 * This way, there would be no caching-issues if you use a childtheme and make changes
   to the childtheme`s style.css.
 * Many thanks!

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

 *  [vladff](https://wordpress.org/support/users/vladff/)
 * (@vladff)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/wrong-order-enqueuing-css-after-update/#post-16015715)
 * Hello,
 * We’ll investigate and make the changes in the next version.
 * Vlad
 *  Thread Starter [casimich](https://wordpress.org/support/users/casimich/)
 * (@casimich)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/wrong-order-enqueuing-css-after-update/#post-16020886)
 * Sorry, it has to be:
    wp_enqueue_style( ‘sydney-style’, get_stylesheet_uri(),”,
   array(), date( “Ymd.His”, filemtime( get_stylesheet_directory() . “/style.css”)));
 * Thx!

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

The topic ‘Wrong order enqueuing CSS after Update’ is closed to new replies.

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

 * 3 replies
 * 2 participants
 * Last reply from: [casimich](https://wordpress.org/support/users/casimich/)
 * Last activity: [3 years, 7 months ago](https://wordpress.org/support/topic/wrong-order-enqueuing-css-after-update/#post-16020886)
 * Status: not resolved