Hi Bogdan,
I did as you recommended. With the new compiled tagdiv_theme_min.js the YoutTube-videos are responsive again. But: The Google Closure Compiler gave me 6 Warnings. Is there a `+´ missing in the file?:
JSC_USELESS_CODE: Suspicious code. Is there a missing ‘+’ on the previous line? at line 1238 character 0
“use strict”;
^
JSC_USELESS_CODE: Suspicious code. Is there a missing ‘+’ on the previous line? at line 2481 character 1
;’use strict’;
^
JSC_USELESS_CODE: Suspicious code. Is there a missing ‘+’ on the previous line? at line 4102 character 0
“use strict”;
^
JSC_USELESS_CODE: Suspicious code. Is there a missing ‘+’ on the previous line? at line 5732 character 0
“use strict”;
^
JSC_USELESS_CODE: Suspicious code. Is there a missing ‘+’ on the previous line? at line 6470 character 0
“use strict”;
^
JSC_USELESS_CODE: Suspicious code. Is there a missing ‘+’ on the previous line? at line 8860 character 0
“use strict”;
^
Thanks Bogdan,
I used the Google Closure Compiler. It worked, everthing is fine now.
Only one more thing: The YouTube videos are not responsive any more. I use the iframe-Code from YT with 640px width for the desktop version. The videos won´t scale on mobiles now. Any ideas?
Thanks
Dirk
Hi Bogdan,
thanks for your advice. I used the dean.edwards.name/packer/ to compile the min js file. But now the functions “Mega Menu” and the “Next Prev Ajax-Pagination” on my homepage won´t work any more. Do you have an advice which compiler to use instead to keep those functions working?
Thanks
Dirk
Thanks Andrei for your help. I´ll give it a try.
What about my second question: How can I add text above the ad e.g. “Anzeige”. (to mark the ad as an ad – German rules….)?
Dirk
Hi Andrei,
here is an example: http://text-kunde.de/apple-auto-rollt-2019-strasse/
Thanks
Dirk
Dear Andrei,
unfortunately your hint only works if a visitor hits the category-button. The header changes with the category-overview.
But if a visitor comes from a link to my site, the regular header is shown, not the one of the category the post belongs to. Even though I changed permalinks to “mysite.com/%category%/%postname%”. The theme should recognize the category and choose the header accordingly. Any ideas?
/%category%/%postname%
Example: http://www.captain-gadget.de/funkstation/das-heimnetzwerk-per-powerline-erweitern
Thanks
Dirk
Thanks Andrei, it works perfectly. Great help!
-
This reply was modified 10 years by
Vilfredo.
Thanks Andrei… looking forward to test the next update.