-
AuthorPosts
-
May 30, 2024 at 9:16 pm #1447114
Hello,
This website will intermittently not load the background images, color sections, or button colors. It ends up pretty black and white. This problem is intermittent, but happening frequently enough that it’s an issue. I can’t recreate it on demand, but often when I check the site, it is not loading these features. Some days it works fine. Others times, it won’t load correctly on any device despite no changes to the site.
I can provide screenshots from multiple devices of the issue, if needed.
I believe WordPress, Enfold, and plugins are update date.
Any ideas?
Thank you in advance,
MichaelMay 31, 2024 at 4:46 am #1447138Hey Michael,
Thank you for the inquiry.
The background image of the color section and the styling of other elements are consistently loading when we check. Would you mind providing a screenshot of the issue?
Best regards,
IsmaelMay 31, 2024 at 5:09 am #1447144Hello Ismael,
I created a “troubleshooting” page on the site and uploaded a few photos from today. I put the direct link in “Private Content.”
Thank you,
MichaelMay 31, 2024 at 6:44 am #1447154Hi,
Thank you for the update.
We provided a screenshot of what we see on our end. Please check the private field, and in the meantime, try temporarily disabling the Enfold > Performance > File Compression settings. Let us know if the issue persists. Have you tried testing it on a different browser?
Best regards,
IsmaelJune 10, 2024 at 8:58 pm #1448810Ismael,
I changed the settings you mentioned to “Disabled – use unminified theme CSS/JS files.”
The issue is persisting.
All pages are working fine, except the “About” page, which is still showing with missing elements (same issue…white background, no color).
It is currently missing elements in both Chrome and Safari on my Mac. It is showing the exact same way on Safari on my iPhone.
I would attach new photos, but it is the same issue as my last set of photos.
EDIT 1: More info — When I log into WP to edit the page and “Preview” it, it all loads correctly with background colors and background images. When I log out and visit the site (not logged into WP), it immediately went back to the issues of no background colors and background images.
Any other tips to try?
Thank you,
Michael- This reply was modified 5 months, 2 weeks ago by michaeldgilbert.
June 11, 2024 at 5:13 am #1448864Hi,
Thank you for the info.
We were able to reproduce the issue on the About page, but it got fixed after a while. The background images don’t display because the dynamic style (post-59.css) was not being loaded for some reason. To fix the issue temporarily, try adding this filter to the functions.php file:
/** * 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,
IsmaelJune 11, 2024 at 6:50 pm #1448920Ismael,
I copy and pasted the code into the Theme Functions (functions.php). You can use previous log-in credentials to confirm.
The issue is persisting.
The “About” page is still white background on Mac (Chrome) and multiple iPhones (Safari).
Also now the “Services” page is white background on one iPhone, but is loading fine on another.
Please advise.
Sincerely,
Michael- This reply was modified 5 months, 2 weeks ago by michaeldgilbert.
June 12, 2024 at 6:34 am #1448958Hi,
Thank you for the update.
The code was added outside the PHP opening tag, which is invalid. We moved the filter to around line 51 of the functions.php file, and then temporarily disabled the file compression settings. Please make sure to purge the cache before checking the page.
Best regards,
IsmaelJune 14, 2024 at 7:25 pm #1450575Ismael,
I have not encountered any issues since your last post. Everything appears to be loading correctly on all devices and browsers at this time. Thank you so much for your help!
Sincerely,
MichaelJune 14, 2024 at 7:44 pm #1450582Hi,
Thanks for the update, we’ll go ahead and close this thread for now then. Please open a new thread if you should have any further questions or problems.
Best regards,
Rikard -
AuthorPosts
- The topic ‘Issues Loading Background Images, Color Sections, Button Colors’ is closed to new replies.