Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #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,
    Michael

    #1447138

    Hey 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,
    Ismael

    #1447144

    Hello 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,
    Michael

    #1447154

    Hi,

    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,
    Ismael

    #1448810

    Ismael,

    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

    #1448864

    Hi,

    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,
    Ismael

    #1448920

    Ismael,

    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

    #1448958

    Hi,

    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,
    Ismael

    #1450575

    Ismael,

    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,
    Michael

    #1450582

    Hi,

    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

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Issues Loading Background Images, Color Sections, Button Colors’ is closed to new replies.