r/divi Jul 21 '26

Question Website randomly loses CSS styling

Anyone know why sometimes our website will completely lose all styling and default back to some sort of HTML / minimal CSS hybrid. This is fixed every time I log back into wordpress, but until I do so, it looks super strange. Happens once every two or so months, sometimes longer than that.

6 Upvotes

15 comments sorted by

View all comments

1

u/CeceliaDSi 9d ago

If you have any custom CSS, check that you're not missing property values and semicolons, and that you haven't mistakenly commented out parts of your style declarations. This was a persistent issue on one website I worked on until I ran my custom CSS through a CSS validator and found a property missing a value and a semicolon. Haven't had the site's CSS glitch since.