I have an ajax call where I get the color scheme of my website. (we have a lot of clients with different schemes, that's why we have to store them in the database).
What I want to achieve is to wait for the ajax call to finish, and only after to load anything on the page. I know there will be a small delay of around 1-2 seconds, but it's the only way to actually hide the process of changing the colors of the text and background color.
Thank you!