How to make child theme changes to work with theme Minifiy option enabled

Home » Child Theme » How to make child theme changes to work with theme Minifiy option enabled
Child Theme, Technical how to No Comments

In order to make child theme changes to work when Minifiy option is enabled, check the following steps:

  1. Create style.min.css file by copying css from style.css file and convert it.

We created style.min.css  using this site: https://cssminifier.com/ 

Upload style.min.css file in child theme folder.

2. Replace get_template_directory_uri from child theme with get_stylesheet_directory_uri

90KIgej

3. Replace style.css with style.min.css

xZP2gOX