• Resolved djav1985

    (@djav1985)


    Is there anyway to make the inline styles Neve adds be rendered in a file instead of inline?

    It places a large chunk of css under <style id=’neve-style-inline-css’ type=’text/css’>

    Or could someone point me to the file where this is rendered at? I can’t find its origin code. is it in the theme or the pro plugin?

    If it placed by a function, filter? I’ve been looking though all of neves files to get rid of this inline css.

    any help would be appreciated

Viewing 1 replies (of 1 total)
  • Vytis

    (@bvytis)

    Hi @djav1985,

    Sorry for the delayed reply! If you really want to do that for some reason – you can add this code to remove the inline style:

    add_action( 'wp_print_styles', function()
    {
        // Remove inline style
        wp_styles()->add_data( 'neve-style', 'after', '' );    
    
    } );

    If you want to search the files of the theme to find where they are added – search for neve-style

    I hope that helps!

Viewing 1 replies (of 1 total)

The topic ‘style id=’neve-style-inline-css’’ is closed to new replies.