• Resolved jpenther

    (@jpenther)


    Hello,

    I’m getting g slow loading time on css files that doesn’t exist(getting 404 in chrome console). I havn’t linked to the css files, what I know of.
    These are the files, waiting time 3s each:

    style.cssstyle.css?ver=5.8.1
    style-rtl.css?ver=3.0.6
    style-rtl.min.css?ver=3.0.6
    style.min.css?ver=3.0.6

    Anybody having a clue what I can do about it?
    I’m using neve child theme.

    Thankfull for any help.
    Jesper

    • This topic was modified 2 years, 11 months ago by jpenther.
    • This topic was modified 2 years, 11 months ago by jpenther.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter jpenther

    (@jpenther)

    So I checked the functions.php and found that Neve Child loads most of the files. I removed the loading function:

    if ( ! function_exists( 'neve_child_load_css' ) ):
    	
    	 //Load CSS file.
    	 
    	function neve_child_load_css() {
    		wp_enqueue_style( 'neve-child-style', trailingslashit( get_stylesheet_directory_uri() ) . 'style.css', array( 'neve-style' ), NEVE_VERSION );
    		wp_enqueue_style( 'neve-child-style-rtl', trailingslashit( get_stylesheet_directory_uri() ) . 'style-rtl.css', array( 'neve-style' ), NEVE_VERSION );
    		wp_enqueue_style( 'neve-child-style-rtl.min', trailingslashit( get_stylesheet_directory_uri() ) . 'style-rtl.min.css', array( 'neve-style' ), NEVE_VERSION );
    		wp_enqueue_style( 'neve-child-style.min', trailingslashit( get_stylesheet_directory_uri() ) . 'style.min.css', array( 'neve-style' ), NEVE_VERSION );
    	}
    endif;
    add_action( 'wp_enqueue_scripts', 'neve_child_load_css', 20 );

    and was left with just one missing file:
    style.cssstyle.css?ver=5.8.1

    Does Neve load more styles anywhere else, I realy want to get rid of the last one?

    Regards
    Jesper

    Thank you for your report.
    It could be the reason why I can’t modify my homepage with the new version of WP

    Hi @jpenther!

    Thanks for choosing Neve!

    I checked your site, but there is no error related to that file in the console log. If you still encounter this issue, please provide us a screenshot with the error.

    Thank you and have a nice day!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Homepage looking for non existing css files’ is closed to new replies.