Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1399986

    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

    #1400032

    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/

    #1400081

    Hi,

    Thanks for helping out @guenni007 :-)

    Best regards,
    Rikard

    #1400222

    thank you @guenni007!

    #1400241

    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

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Extra CSS data-created_by=”avia_inline_auto” on posts and pages’ is closed to new replies.