Archived topic
I have error in my website failed to load rtl.css:1 404 error
7 replies · Started by eden on September 30, 2021
Hello I have error in my website that the scrolling in desktop is very very slow sometimes, and I keep getting the same error of 404 in css rtl file that is not loading.
My website address is edensharabi.co.il
Hi Eden,
I don't see the issue that scrolling very slow.
For the console error, have you tried rebuilding the CSS in the Elementor > Settings ?
Or uninstalling and re-installing the plugin?
Let me know :)
Yes I have tried rebuilding CSS and Reinstalling the plugin but still no change.
I would be happy if you can try get in the admin panel and check it for yourself.
I don't see the scrolling issue either.
Have you tried disabling all plugins except GP premium to test?
The scrolling issue has been fixed with a CSS Code.
But the 404 Error is still exist, deactivating the plugins did not help.
Hi there,
Do you have this PHP snippet on your site?
function generatepress_child_enqueue_scripts() {
if ( is_rtl() ) {
wp_enqueue_style( 'generatepress-rtl', trailingslashit( get_template_directory_uri() ) . 'rtl.css' );
}
}
add_action( 'wp_enqueue_scripts', 'generatepress_child_enqueue_scripts', 100 );
The site seems to be enqueuing a non-existing file.
Yes I have it, why is it there?
Should I delete it?
How it will affect my site?
Hi there,
currently that code is not doing anything other then creating that error. So you can remove it.