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

    #1184148

    Hi everybody!
    Any help? :-(
    Thanks!

    #1184160

    Hi,

    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,
    Yigit

    #1184168

    Hi 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!

    #1184173

    Hi,

    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,
    Yigit

    #1184183

    I’m afraid to don’t exactly understand what you mean because anytime I (re)enable this option, the issue is coming back…

    #1184187

    Hi,

    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,
    Yigit

    #1184199

    Hi,
    So I completely deleted shortcodes folder in my child theme.
    Please find FTP credentials in private content.
    Thanks for your help, Yigit!

    #1184225

    Hey!

    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,
    Yigit

    #1184231

    Thanks a lot for your help, Yigit!

    #1185461

    Hi Yigit,
    Any new help from your teammates about this issue?
    Thanks a lot!

    #1187232

    Hi,

    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,
    Ismael

    #1187686

    Hi 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!

    #1188353

    Hi,

    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,
    Ismael

    #1188671

    Hi 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).

    View post on imgur.com


    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!

    #1188762

    Hi,

    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,
    Ismael

    #1189847

    Hi 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!

    #1190317

    Hi,

    Look for the files that are named avia-footer-scripts and avia-merged-styles in the dynamic_avia folder.

    Best regards,
    Ismael

    #1190399

    Hi,
    Ok. Thanks for your help!
    Best regards

Viewing 19 posts - 1 through 19 (of 19 total)
  • The topic ‘Privacy & Cookies – Enfold Documentation’ is closed to new replies.