-
AuthorPosts
-
March 21, 2022 at 5:36 pm #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.
March 21, 2022 at 7:12 pm #1345393Hi 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,
NikkoMarch 22, 2022 at 5:23 am #1345443thats work and there is no extra css file, but the loading of the calculation of the height (%) from section is too slow!
March 22, 2022 at 5:51 am #1345458Hi 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,
NikkoMarch 22, 2022 at 6:02 am #1345459March 22, 2022 at 6:08 am #1345463in ff it is slow, in other browsers it normal…
March 22, 2022 at 6:18 am #1345465chrome is a little slow
March 22, 2022 at 6:19 am #1345466i have ff teste without extensions, but also slow
March 22, 2022 at 6:41 am #1345471i tested it now with a second ff profile. it seems normal laoding…
you can close this thread. and thanks!March 22, 2022 at 6:48 am #1345472Hi 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,
NikkoMarch 22, 2022 at 6:59 am #1345473thanks!
March 22, 2022 at 7:10 am #1345474css helps in ff and all other browsers.
March 22, 2022 at 7:15 am #1345475Hi 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,
NikkoMarch 22, 2022 at 7:31 am #1345477you can close it.
March 22, 2022 at 8:09 am #1345479Hi caw67,
Thanks for using Enfold and have a great day!
Best regards,
Nikko -
AuthorPosts
- The topic ‘pageload and speed’ is closed to new replies.