Tagged: avia_inline_auto, CSS, data-created-by, extra css
Hi Kriesi,
Thank you for the wonderfull Enfold theme. I seem to be running in a small problem and I hope you know how to solve it.
When I duplicate a post or a page some seemingly random css is added to the duplicated post or page.
For example: <style type=”text/css” data-created_by=”avia_inline_auto” id=”style-css-av-l4cjvby6-69b2950d17734fd42506394564f6b87c”>
Is it possible to delete these css snippets, or maybe even better, to prevent these css snippets from being added to the posts and pages?
Kind regards,
Rob van Heijst
Clever Strategy
Can you try this in your child-theme functions.php:
function custom_avf_post_css_create_file( $create ){
return true;
}
add_filter( 'avf_post_css_create_file', 'custom_avf_post_css_create_file', 10, 1 );
the css is created anyway – but not saved inline – all goes to extra css file inside /wp-content/uploads/dynamic_avia/
thank you @guenni007!
Hi,
Glad Guenni007 could help, thank you Guenni007, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.
Best regards,
Mike