Tagged: 

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1496536

    Hello-

    My website is at valparker.com. I have color sections at the top of each page for the hero image.

    Once a week, randomly, the color sections go white, making the text unreadable. I have tried clearing caches, setting a minimum height to these sections, etc. Nothing seems to keep it consistently correct and occasionally the colors sections will return to their deep gray color with me just logging in and clicking to edit the page.

    I’ve included a screenshot link of what the pages look like when the color section is no longer dark.

    #1496540

    Hey valerieh,

    Thank you for the inquiry.

    Do you have any scheduled tasks or cron jobs running on your site? For example, automated backups, cache clearing plugins, optimization plugin or any custom scripts that run on a schedule? Some of these can accidentally strip inline styles or regenerate css files in a way that drops custom color settings from your sections.

    It would also help to know if you’re using any plugin that modifies or minifies css, such as Autoptimize or a similar tool. Disabling file compression temporarily via Enfold > Performance > File Compression can help rule out the theme’s own css merging as a factor.

    Let us know the result.

    Best regards,
    Ismael

    #1496556

    Hello! Thanks for the response.

    I used Deluxe Managed WordPress Hosting, which does include auto backups. I have used this for as long as I can remember, and haven’t run into this issue until recently- could that be it?

    I have included a screenshot of my plugins and my performance set up. I accidentally ran two image compression plugins at the same time, but that was AFTER I had issues with the color section, so that was not related to the issue.

    I did the following to try to resolve the issue and did not have success:

    Disabled “css file compression and merging”, as well as “javascript file compression and merging.” I

    Turned on”Delete Old CSS And JS Files?

    Screenshot in private content.

    #1496599

    Hi,
    It sounds like a caching issue with smushit, try disabing it for a week and see if that helps, or add this function to your child theme function.php

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

    #1496728

    HI Mike-

    I disabled smush and i am still having problems.

    The simple act of logging in and saving a page usually fixes it, but I would love a more permanent solution. See private homepage for my homepage today before I fixed it

    #1496734

    Hi,
    When I check the section background is now dark, so it seems correct now. It looks like you have not tried the function in your child theme function.php

    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 );

    Give that a try.

    Best regards,
    Mike

    #1496896

    Thank you! I just added to my child theme.

    The regular enfold theme appears to be the active one though for my site. It’s been a while since I worked with child themes – will this change to my child theme still impact my site?

    My inquire form color section now is white: https://valparker.com/inquire/. THis happened BEFORE I added the code. I left it for your reference.

    #1496898

    Hi,
    If your active theme is Enfold and not the child theme, then the code added to the child theme will not work.
    It would be best to activate the child theme. Have you ever had the child theme active? Have you imported the parent theme settings into the child theme? Have you added any snippets into the parent functions.php file?
    Assuming these are all no, follow these steps:
    1 With your parent theme active, go to Enfold Theme Options > Import/Export > Export Theme Settings File and download your theme settings file for fallback.
    2 Ensure your Enfold Theme Options > Performance > JS & CSS file merging and compression is turned off along with any caching plugins.
    3 activate the child theme
    4 Go to the child theme Enfold Theme Options > Import/Export > Import Settings From Your Parent Theme and import
    5 Go to your homepage and clear your browser cache a couple of times and check that the settings have taken effect.
    If it doesn’t look quite right, then check that your child theme Enfold Theme Options > Performance > JS & CSS file merging and compression is turned off and clear your browser cache a couple of more times.
    If still not quite right, then go to child theme Enfold Theme Options > Import/Export > Import Theme Settings File and upload the theme settings file you saved earlier for fallback and clear your browser cache a couple of more times.

    Best regards,
    Mike

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.