• Hi!

    I’m using your plugin, with JS it works very well, but i have an issue with CSS.

    File is generated but seems not attached to pages, so pages are shown without any CSS.

    Is it possible to fix this problem?

Viewing 14 replies - 16 through 29 (of 29 total)
  • Plugin Author Frank Goossens

    (@futtta)

    didn’t work first, but was due to hypercache returning on “old” page, adding ?mqldskjf=qdsfq to the URL broke the cache and now all is fine. maybe try turning back on your old theme to see if that was a caching problem as well?

    Thread Starter yurann2000

    (@yurann2000)

    Swithed back – the same problem

    Thread Starter yurann2000

    (@yurann2000)

    The most interesting thing that JS works with no problem

    Thread Starter yurann2000

    (@yurann2000)

    css files are generated, Do you think problem is where it adds it to theme?

    Plugin Author Frank Goossens

    (@futtta)

    hmmm … could be the CSS minification component crashing on your theme’s CSS … maybe try switching to “legacy minifiers” as explained in the FAQ or try excluding some of the CSS-files from optimization?

    Thread Starter yurann2000

    (@yurann2000)

    If it was a problem with minification can a file be created in cache folder?

    ok, i’ll try now.

    Thread Starter yurann2000

    (@yurann2000)

    1. legacy minifiers – doesn’t help

    Thread Starter yurann2000

    (@yurann2000)

    2. I tried with different files, conglusion is:

    in any case autooptimise css file is not included.

    Thread Starter yurann2000

    (@yurann2000)

    I tried everything – problem is still the same. I also found out that revolution slider doesn’t work now, but i think it’s easier to fix.

    Plugin Author Frank Goossens

    (@futtta)

    in that case; something in the theme is indeed messing things up, no idea what might be happening I’m afraid. maybe have a look at your php errorlog to see if anything pops up there?

    for revolution slider; typically you would need to exclude js/jquery/jquery.js and have “force JS in head” off. if that doesn’t work you would have to look in your browser’s console for JS errors.

    Thread Starter yurann2000

    (@yurann2000)

    Checked php log – no problems :))

    Can i manually add generated CSS ?

    CSS and JS are added in different way in your plugin?

    Plugin Author Frank Goossens

    (@futtta)

    Can i manually add generated CSS ?

    don’t see how I’m afraid

    CSS and JS are added in different way in your plugin?

    no, the code to re-inject CSS & JS is the same actually (inject_in_html function).

    Plugin Author Frank Goossens

    (@futtta)

    one last thing maybe; have your tried if “inline all CSS” or “inline & defer CSS” result in the same problem or that somehow there is CSS in that case?

    Thread Starter yurann2000

    (@yurann2000)

    no.

    Thank you for help, I’ll try something more tomorrow.

Viewing 14 replies - 16 through 29 (of 29 total)

The topic ‘JS is ok, CSS – no file attached.’ is closed to new replies.