Bug #366
closedExternal stylesheet/script lag
0%
Description
Is there a way to streamline/prioritize how the external stylesheets/scripts get loaded on the home page? It's affecting the way that certain aspects of the page work, eg the hero slider.
Updated by Chris Stein about 14 years ago
I can think about/take a look at this too. What is the issue that you're encountering?
Updated by Boone Gorges about 14 years ago
The particular issue is that the stylesheet for the hero slider plugin is loading late, so some of the borders around the hero image only pop up after a second or two. See what I mean on cdev.
Updated by Ron Rennick about 14 years ago
I'll look at hooking in earlier in the process. Right now it's running on wp_head with a priority of 1 which means I'll likely have to change hooks.
Updated by Ron Rennick about 14 years ago
@Boone - for the layout can you try adding a float:left; to the .introbox class in the custom css for the theme and check it with IE to see if the layout is still ok?
Updated by Boone Gorges about 14 years ago
- Status changed from New to Resolved
- Assignee set to Boone Gorges
Ron - Thanks for the tip. It went part of the way toward solving the problem in real browsers. See https://github.com/castiron/cac/commit/2572565b4aa470ef033921b9822d440ca0c20222 and https://github.com/castiron/cac/commit/ce0ae486413223e0c6a0dd3bdac0217519d8a021
The JS for the slider doesn't seem to be firing at all on IE7 (at least not on my admittedly messed up XP VM). I'll open a separate ticket.