-
AuthorPosts
-
February 11, 2020 at 4:44 pm #1183579
Hi,
I’m trying to apply cookies settings, following your Privacy & Cookies – Enfold Documentation (https://kriesi.at/documentation/enfold/privacy-cookies/#cookie-consent-message-bar).
I simply would like to display the exactly same cookie consent message bar than yours (https://imgur.com/94wjDr7) but nothing works as expected :
– First, I would like only this message bar to be displayed. So I checked “Enfold > Privacy and Cookies > Modal Popup Window
> Display Modal Popup Actions > Open with button only” like explained in your documentation, but nothing to do… all cookies consents are displayed.
– I would like this message to be transparent and always displayed at the bottom of my page, but it is placed at the very end of my page, only visible when the page is scrolled to the end.
– Finally, I would like exactly the same appearance than the one in your documentation (black and white square buttons – https://imgur.com/94wjDr7)What do I need to do?
Thanks a lot!
Please find credentials to my website in Private Content.
February 13, 2020 at 2:27 pm #1184148Hi everybody!
Any help? :-(
Thanks!February 13, 2020 at 2:56 pm #1184160Hi,
Thanks for contacting us!
I went to Enfold theme options > Performance and disabled CSS and JS file merging and saved and that fixed the issue. Please review your website :)
Best regards,
YigitFebruary 13, 2020 at 3:22 pm #1184168Hi Yigit,
Thanks a lot for your feedback!
I tried it and disable CSS file merging only is enough to solve this issue.
But in Enfold options, you specify that this is highly recommended to activate those compressions. Without this, websites could be slower :-(
Do you therefore think there could be another solution for this issue?
Thanks a lot!February 13, 2020 at 3:25 pm #1184173Hi,
You can enable it after saving theme options :)
You can temporarily disable it, save theme options and enable to make sure to reflect the changes :)Regards,
YigitFebruary 13, 2020 at 3:58 pm #1184183I’m afraid to don’t exactly understand what you mean because anytime I (re)enable this option, the issue is coming back…
February 13, 2020 at 4:08 pm #1184187Hi,
Okay now i get the issue.
I deleted following code from /enfold-child/shortcodes/productslider.css file
add_filter('avia_load_shortcodes', 'avia_include_shortcode_template', 15, 1); function avia_include_shortcode_template($paths) { $template_url = get_stylesheet_directory(); array_unshift($paths, $template_url.'/shortcodes/'); return $paths;}
It is already in Functions.php file of your child theme and that is where it should be. I also noticed you have added custom footer content using ava_before_footer action in Functions.php which might be causing the issue.
Could you please share FTP logins privately as well so we can look further into it?
Best regards,
YigitFebruary 13, 2020 at 4:27 pm #1184199Hi,
So I completely deleted shortcodes folder in my child theme.
Please find FTP credentials in private content.
Thanks for your help, Yigit!February 13, 2020 at 5:34 pm #1184225Hey!
So far i could not figure this one out. I will ask my teammates to check it as well in case there is something i am missing. Please kindly wait to hear from us :)
Regards,
YigitFebruary 13, 2020 at 5:42 pm #1184231Thanks a lot for your help, Yigit!
February 17, 2020 at 11:31 pm #1185461Hi Yigit,
Any new help from your teammates about this issue?
Thanks a lot!February 24, 2020 at 9:30 am #1187232Hi,
Sorry for the delay. We still don’t know why the css compression breaks the cookie consent tabs. This is actually the first time that we encountered the issue. Temporarily, we disabled the theme’s css/js compression and installed the Autoptimize plugin instead. It’s the same as having the theme’s file compression enabled with the added advantage of being able to optimize the html and more.
Best regards,
IsmaelFebruary 25, 2020 at 1:53 pm #1187686Hi Ismael,
Thanks a lot for your help!
I have some questions:
1) You say “temporarily”. So does it mean it could be another solution for me in the future, without this Autoptimize plugin?
2) Disable the theme’s css compression ONLY is enough to solve the issue. So, do I really need to disable theme’s js compression too? Is it better for me?
3) This Autoptimize plugin is able to optimize images, but I already use the Smush plugin to do this. Do you know if I can optimize images with both plugins or is it better to use one only?Thanks a lot!
February 27, 2020 at 9:59 am #1188353Hi,
You’re welcome!
1.) We might not be able to actually solve this issue because it seems to be related to your server. The file compression on most installation doesn’t affect the privacy tabs, so this is quite unique in your site.
2.) Yes, you should keep the theme’s JS compression disabled for now because Autoptimize already handles it. Enabling the option won’t do the site any good and might actually cause errors or unwanted behaviors.
3.) The image optimization feature of the Autoptimize plugin requires subscription to Shortpixel, which is also an image compression plugin, so it will be redundant and unnecessary if you’re already using Smush.
Best regards,
IsmaelFebruary 27, 2020 at 10:41 pm #1188671Hi Ismael,
Thanks for your feedback!
So I gonna keep the theme’s css AND js compression disabled.
But I have a last question: there is another option at the bottom of this Performance tab (see screenshot).
This option is about deleting old CSS and JS files and the option is enabled. But in the text just behind, it’s told to enable it ONLY IF we don’t use a caching plugin…
So what do I need to do?? And did it delete some files which shouldn’t have been deleted??
Thanks!February 28, 2020 at 6:57 am #1188762Hi,
So what do I need to do?? And did it delete some files which shouldn’t have been deleted??
The option will only delete the merged or compressed files generated by the theme and since you’re not using the theme’s file compression options, you can disable it. You can always manually delete the merged files in the wp-content > uploads > dynamic_avia folder if necessary.
Best regards,
IsmaelMarch 3, 2020 at 11:51 pm #1189847Hi Ismael,
Thanks for your feedback!
So I disabled this option.
My question will maybe be idiot, but how could I recognize those merged files in the wp-content > uploads > dynamic_avia folder?
Thanks a lot!March 5, 2020 at 8:34 am #1190317Hi,
Look for the files that are named avia-footer-scripts and avia-merged-styles in the dynamic_avia folder.
Best regards,
IsmaelMarch 5, 2020 at 12:22 pm #1190399Hi,
Ok. Thanks for your help!
Best regards -
AuthorPosts
- The topic ‘Privacy & Cookies – Enfold Documentation’ is closed to new replies.