Tagged: ,

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
  • #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 ?



    Can you take a screenshot or post a link so we can see?




    Hi Mya,

    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 Mya



    Did you try to use other cache plugins like W3TC?




    Hi Peter,

    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 :

    <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.


    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/ (Purchase code hidden if logged out) -with-dynamic-content



    Thanks for the notice. Will keep that in mind and check if I can find a better way of setting css classes…



Viewing 7 posts - 1 through 7 (of 7 total)

The topic ‘slider captions in IE8’ is closed to new replies.