Tagged: ,

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

    #83451

    Hi,

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

    Regards,

    Mya

    #83452

    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 :

    http://db.tt/CGWsmkSt

    http://db.tt/j6oR9sFj

    http://db.tt/3iYLYxdD

    thanks for taking a look Mya

    #83453

    Hi!

    Did you try to use other cache plugins like W3TC?

    Regards,

    Peter

    #83454

    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 :

    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.

    #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-content

    #83456

    Hi!

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

    Regards,

    Kriesi

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

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