Forum Replies Created
-
AuthorPosts
-
Aha.
Even though the style.css displays the ID ‘avia-style-css’ it is originally enqueued by enfold as ‘avia-style’ with no ‘css.’
So, if someone else wants to do this and can’t figure it out, try this:
add_action( 'wp_enqueue_scripts', 'enfold_remove_scripts', 9999 ); function enfold_remove_scripts() { wp_dequeue_style( 'avia-style' ); wp_deregister_style( 'avia-style' ); }
And look to Enfold functions.php section “Register frontend javascripts” when you’re trying to find the style enqueues.
Nevermind.
- This reply was modified 5 years, 5 months ago by johncory. Reason: Removing private info
Thanks. When I try to swapping out 4.5.7 with 4.5.7.1-beta-4, my child theme loses a lot of styles. But not all. Are there any special instructions for employing the beta?
Hello,
I am experiencing this issue as well. Can you please share a public link to the beta or advise if we should roll back to a previous version? If rollback, can you provide a link to the best version available?
Can you please also explain what may be affected by this issue — only pages built using animations and/or LayerSlider? In what circumstances is this script loaded?
Thanks,
CSorry, I don’t have this on a production site.
Here’s the source from my local site:
<link rel='stylesheet' id='avia-custom-css' href='http://test.loc/test/wp-content/themes/enfold/css/custom.css?ver=4.5.7' type='text/css' media='all' /> <link rel='stylesheet' id='avia-style-css' href='http://test.loc/test/wp-content/themes/enfold-child-test/style.css?ver=4.5.7' type='text/css' media='all' /> <link rel='stylesheet' id='my-child-style' href='http://test.loc/test/wp-content/themes/enfold-child-test/style.min.css?ver=1559080088' type='text/css' media='all' />
This reply has been marked as private.I found the solution in this other thread:
https://kriesi.at/support/topic/sub-menu-will-not-stick/(The Full Width Sub Menu will not stick if there is a “burger menu” present. We can comment that JS out in the parent Enfold theme.)
I hope that this “feature” can be removed, made an option or be explained in the interface.
Thank you
- This reply was modified 5 years, 6 months ago by johncory.
-
AuthorPosts