$conf, $runtime; function_exists('chdir') AND chdir(APP_PATH); $r = 'mysql' == $conf['cache']['type'] ? website_set('runtime', $runtime) : cache_set('runtime', $runtime); } function runtime_truncate() { global $conf; 'mysql' == $conf['cache']['type'] ? website_set('runtime', '') : cache_delete('runtime'); } register_shutdown_function('runtime_save'); ?>templates - Wordpress site not loading styles on desktop?|Programmer puzzle solving
最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

templates - Wordpress site not loading styles on desktop?

matteradmin10PV0评论

I've created a Wordpress website using Astra and Elementor. I haven't coded any of it or done anything manually other than using the editor to edit some template blocks.

Now, when I try to load one particular page from my site, it will load the headings and links but with none of the styling, including background images, button stylings, everything. It's just a white page with words and blue links.

Below is what the website is supposed to look like. And below that is what it's displaying as.

Additionally, it looks like if I let the broken website sit for a while and then refresh, the styling suddenly shows up. I am completely new to this and I have no idea what's happening, I have been google searching for hours and found millions of similar issues but no solutions that seem to work for this issue.

I've created a Wordpress website using Astra and Elementor. I haven't coded any of it or done anything manually other than using the editor to edit some template blocks.

Now, when I try to load one particular page from my site, it will load the headings and links but with none of the styling, including background images, button stylings, everything. It's just a white page with words and blue links.

Below is what the website is supposed to look like. And below that is what it's displaying as.

Additionally, it looks like if I let the broken website sit for a while and then refresh, the styling suddenly shows up. I am completely new to this and I have no idea what's happening, I have been google searching for hours and found millions of similar issues but no solutions that seem to work for this issue.

Share Improve this question asked Feb 3, 2019 at 3:15 PaytonPayton 1
Add a comment  | 

1 Answer 1

Reset to default 0

I think that the issue is associated with the browser cache. Try clearing it. It should fix your issue.

Also, you can try appending these PHP code to the .css file in the header for ruling out cache of the stylesheet:

<link rel="stylesheet" type="text/css" media="screen" href="your.css?<?php echo time(); ?>" />
Post a comment

comment list (0)

  1. No comments so far