July 17, 2012 at 5:07 pm #14435
i’m having some trouble with the slider’s captions on IE8 :
they work on a few pages, but don’t on most others.
i’ve no clue what could be wrong , as the css seems fine ?July 20, 2012 at 1:51 pm #83451July 20, 2012 at 2:33 pm #83452
I’ve since narrowed down what the problem is : it doesn’t play well with the WP-Super-Cache plugin (same one you guys use on kriesi.at)
The problem is that if a fresh, non-cached page is visited on IE 8, the subsequent page page (cached) does not display well in other browsers (FF, Chrome, Safari).
Same if it’s the other way round, a fresh page visited in Firefox/Chrome/Safari does not display well afterwards in IE.
I’ve already specified the dynamic-css.php, slideshow.css & custom.css not to be cached, but it didn’t solve it.
The problem with the slider is evident in these screenshots :
thanks for taking a look MyaJuly 24, 2012 at 7:15 am #83453July 24, 2012 at 8:29 am #83454
I’ve tried W3TC and WP SuperCache (which seems better) but the problem lies with the way the theme works :
in header.php a CSS class based on the browser is created, resulting in this being written to the HTML page :Code:<html dir=”ltr” lang=”en-US” class=”firefox firefox3 html_boxed responsive “>
So if you use a caching plugin, it will cache the HTML page, with that declaration already there, no matter the browser. Which means if you visit the site with IE8, you might get the page with styling for firefox or chrome or vice-versa, depending what browser the visitor had when the cache was created.
This causes more issues than i initially pointed out as IE8 generated caches lack webfonts and a lot of other things.
Do you see a way out to fix this ?
I would have thought Kriesi themes are optimised for caching.July 26, 2012 at 6:25 am #83455
I’ll ask Kriesi to look into it. Imho the only way to solve this issue would be to change the browser detection level (js/jquery based browser detection instead of php based browser/user agent detection). Another option would be to exclude dynamic content: http://wordpress.org/support/topic/plugin-w3-total-cache-works-with-dynamic-contentAugust 7, 2012 at 8:10 pm #83456
The topic ‘slider captions in IE8’ is closed to new replies.