Moderator
t-p
(@t-p)
I recommend asking at https://wordpress.org/support/theme/responsive/?view=all so the theme’s developers and support community can help you with this.
I can see that the responsive.min.css not loading on your website, Can you please check that?
Thread Starter
Rudy76
(@rudy76)
CyberChimps,
I checked and and also see that the responsive.min.css is not loading. It is in the theme > /wp-content/themes/responsive/core/css/. How do I fix this?
It may be because the parent CSS styles are not enqueued properly in your child theme, can you please check the documents for it –
https://developer.wordpress.org/themes/advanced-topics/child-themes/
Refer the 3rd point – Enqueue stylesheet
Thread Starter
Rudy76
(@rudy76)
CyberChimps,
Thank you for the suggestion. The child theme’s parent CSS have been enqueued properly. In fact, I added the following and it is still not working properly on mobile although it shows in the source code:
wp_enqueue_style( ‘responsive-min’, get_template_directory_uri() . ‘/core/css/responsive.min.css’ );
Next, I tried adding the following to the Theme Options > Scripts > Embed > Embeds to header.php. It worked and the site was again mobile-friendly.
<link rel=’stylesheet’ id=’responsive-min-css’ href=’/wp-content/themes/responsive/core/css/responsive.min.css’ type=’text/css’ media=’all’ />
I also tested the parent responsive-theme without child-theme, and the responsive.min.css is not loading.
How can this be fixed?