Tagged: color section
-
AuthorPosts
-
April 2, 2026 at 9:46 pm #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.
April 3, 2026 at 6:16 am #1496540Hey 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,
IsmaelApril 3, 2026 at 3:41 pm #1496556Hello! 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.
April 5, 2026 at 2:38 pm #1496599Hi,
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.phpfunction 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,
MikeApril 10, 2026 at 11:27 pm #1496728HI 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
April 11, 2026 at 4:37 pm #1496734Hi,
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.phpfunction 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,
MikeApril 19, 2026 at 6:10 am #1496896Thank 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.
April 19, 2026 at 1:48 pm #1496898Hi,
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 -
AuthorPosts
- You must be logged in to reply to this topic.
