no css
-
Hello
Great plugin.
However the css is not loading with vantage theme.
Please see https://www.mybirddna.com/need-help/
How can i do?
Best regardsThe page I need help with: [log in to see the link]
-
Hi @roryrory,
Thank you for providing the FAQ page URL.
We have checked on the provided URL and it seems that you are using any Cache related plugin on your site because of which our plugin’s CSS file is not loading on your FAQ page. Can you please check once by deactivating that Cache related plugin and clearing the Cache on your site?
Please do the same and let us know the result.
Regards,
Priyanka Jagtap+1 same issue here
I use these caching plugins:
+ Autoptimize to minify + combine styles and scripts
+ Hyper Cache to cache all pages.Usually all properly enqueued style and script files are minified well. But the plugin styles from Arconix Faq seems to disappear entirely if I enable CSS compression.
Strangely, it used to work fine until now. Has there been an update that might have caused this issue?
EDIT: I temporarily copied the entire CSS to the Customizer Extra CSS field. This resolved it for now.
- This reply was modified 6 years, 1 month ago by Leon Korteweg.
Hello
Yes it does the same when i deactivate cache plugin + purge them.
Is use Autoptimize + SG cache + Cloudflare
best regardsHi @lkorteweghayonanl and @roryrory,
We haven’t updated the Arconix FAQ plugin in a while. However, we will check our plugin with the Autoptimize plugin and see if we are able to replicate the same issue as you mentioned. If we are able to replicate the issue with Autoptimize plugin then we will look into it and find the appropriate solution for the same.
Please let us know if you have any other questions.
Regards,
Priyanka JatapGreat thanks a lot!
– Leon
Same issue here.
arconix-faq.css disappeared if CSS minifying with autoptimize is enabled.Same issue with Arconix FAQ when using Autoptimize ??
I also found this problem with Autoptimize not playing nice with Arconix FAQ plugin css.
The css did appear to be minified and placed in the footer (as would be where Arconix puts it) but looking at the optimised css file in chrome dev tools, it has some strange characters in it, obviously breaking things and resulting in the css rules not being applied.Tried to exclude the css file using AO exclusion list, that didn’t work.
Had to find the problem then..
I found that there are 2 lines in the arconix-faq.css commented out area, near the top, these were causing the problems.
eg. ‘url(../../images …’Removing the “url( ” parts seem to make things work ok again. (this is just in the commented out area where the dev explains how to change the image paths, not in the actual active code).
It must be an issue with how AO deals with certain lines of code, although I’d have thought that being inside a commented out area, this shouldn’t happen.
This also highlighted the fact that I couldn’t override the arconix-faq.css file by placing my own copy of it in my child theme folder.
The css file was not replaced with my own version, so I had to edit the actual plugin css file and replace that. Guess I won’t be updating that plugin again!The irony is.. it’s the instructions for overriding the css file that cause the issue that results in the need to override the css, which isn’t possible!
This seems to be issues with both plugins.. oh well, hopefully they’ll both fix them soon.
In the mean time, this should help some people with a temporary fix, it just means doing the unthinkable and editing a plugin file, can’t see any other way!That’s interesting @russhorne, this _could_ be due to the fact that AO (since 2.4) by minifies excluded files that are not minified (based on filename). Can you try this code snippet which disables that behavior;
add_filter('autoptimize_filter_css_minify_excluded','__return_false');
For the next version of AO I’m considering to add this functionality as an option to the settings page.
frank (ao dev)
Hi Frank, thanks for that, yes that snippet added to the functions.php does seem to work.
It would be great if that options was added in a future update.
It isn’t clear that this is how things function, ‘excluding from autoptimize’ does imply that the plugin won’t process these files at all.I was suspecting that there could be something strange going on, but couldn’t find any user guide for help with the plugin settings, is there an official guide online anywhere?
Thanks.
It would be great if that options was added in a future update.
99% sure it will
It isn’t clear that this is how things function, ‘excluding from autoptimize’ does imply that the plugin won’t process these files at all.
currently it means “exclude from aggregating”, but I agree this isn’t made clear enough.
couldn’t find any user guide for help with the plugin settings, is there an official guide online anywhere?
the AO FAQ, mainly. the filter to disable minification of excluded CSS/ JS is mentioned there as well but clearly that did not suffice ??
enjoy your weekend!
frankOK, added a “minify excluded” option under “misc options” on the Github AO25 Beta version, you can download it here to test it. Lots of other new goodies in there as well always happy with feedback! ??
Hi @roryrory, @lkorteweghayonanl, @msassmann, @menxie, and @russhorne,
I apologize for the late reply.
We have fixed the mentioned issue occurring with the Autoptimize plugin. Below is the link to download the “arconix-faq.css” file of our plugin which contains a fix for this issue. Kindly download the same and upload a file content via FTP. You have to replace it on your site with the existing file.
Link: https://www.dropbox.com/s/gw396hpf2kzim49/arconix-faq.css?dl=0A path to the file: < WordPress Installation Directory > / wp-content / plugins / arconix-faq / includes / css / < HERE >
Once you have done the same, please delete your cache and then check whether the FAQ styling is displaying properly or not with the Autoptimize plugin.
Please check and let us know the result.
We are going to include this fix in the next update of our Arconix FAQ plugin. Let us know if you have any questions.
Regards,
Priyanka JagtapThank you @priyankajagtap
No issue when the CSS Options is enabledHi, I am a newbie but am looking to add this feature but do not understand exactly what I need to do? @priyankajagtap Please can you explain in very simple terms?
- The topic ‘no css’ is closed to new replies.