empty or null style.css is not exported leading to 404 on deployed site
-
Sometimes, when using a child theme, the style.css only contains the required comments, without any CSS, either because it’s not needed, or because it’s added via the customizer. In this case, WP2Static does not include the child theme’s style.css in the export, which results in a 404 on the live site. This happens even if the child theme’s style.css is added to the “Include additional URLs” list.
A workaround is to add some CSS to the child theme’s style.css.
- The topic ‘empty or null style.css is not exported leading to 404 on deployed site’ is closed to new replies.