Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #1345380

    in the new enfold version there for every site one css file. when i use an section and make height in %, the loading ist very long/slow. i can “see” the calculation of the %. in the old version its loads faster! why is there an extra css file for every site/page? it not depends on caching or minifiying! with or without.

    #1345393

    Hi Christian,

    Please try to add this code in your functions.php file to disable the post CSS file creation:

    /**
     * Filter to skip css file generation.
     * You can add logic to skip for certain pages/posts only.
     * 
     * @since 4.8.6.1
     * @param boolean $create
     * @return boolean					true | false or anything else to skip generation of css file
     */
    function custom_avf_post_css_create_file( $create )
    {
    	return false;
    }
    
    add_filter( 'avf_post_css_create_file', 'custom_avf_post_css_create_file', 10, 1 );

    Best regards,
    Nikko

    #1345443

    thats work and there is no extra css file, but the loading of the calculation of the height (%) from section is too slow!

    #1345458

    Hi caw67,

    I don’t seem to experience the same thing on my end, can you give us a link to the page where you are experiencing this? so we can try to check it.
    You can post the link in private content if you want the link only to be seen by moderators.

    Best regards,
    Nikko

    #1345459
    #1345463

    in ff it is slow, in other browsers it normal…

    #1345465

    chrome is a little slow

    #1345466

    i have ff teste without extensions, but also slow

    #1345471

    i tested it now with a second ff profile. it seems normal laoding…
    you can close this thread. and thanks!

    #1345472

    Hi caw67,

    I noticed that it’s a bit slow in chrome, though it’s good in firefox on my end.
    Since the js file are loaded last, the above-the-fold part of the site would show an incomplete style for a moment then fixes itself after the js file is downloaded.
    Can you try adding this CSS code in Enfold > General Styling > Quick CSS:

    .av-minimum-height-50 .container {
        min-height: 50vh;
    }

    And see if it helps with the initial load.

    Best regards,
    Nikko

    #1345473

    thanks!

    #1345474

    css helps in ff and all other browsers.

    #1345475

    Hi caw67,

    You’re welcome :)
    Just let us know if you need further assistance on this topic or if we can close the thread.

    Best regards,
    Nikko

    #1345477

    you can close it.

    #1345479

    Hi caw67,

    Thanks for using Enfold and have a great day!

    Best regards,
    Nikko

Viewing 15 posts - 1 through 15 (of 15 total)
  • The topic ‘pageload and speed’ is closed to new replies.