Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1408206

    Hello,

    I ran seositecheckup on my site and turns out I have inline CSS.
    My question would be how it is possible to get rid of that.
    I am copying the results from seocheckup below.

    Thank you for your help,
    Have a nice day

    • This topic was modified 1 year, 6 months ago by davidv126.
    #1408313

    ?

    #1408322

    add this to 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 );
    #1408347

    Hi davidv126,

    Please follow @Guenni007’s suggestion.


    @Guenni007
    thanks for helping out :)

    Best regards,
    Nikko

    #1408364

    Unfortunately it is not working. Cleared everything many times and get back to it again. But the problem still seems to exist.

    Here the inline CSS and I am gonna just delete the website url from that of course not because of you.

    so inline CSS as follows:
    <div class=”container av-logo-container” style=”height: 88px; line-height: 88px;”></div>








    <ul class=”avia-slideshow-inner ” style=”height: 1080px; padding: 0px; transition: none 0s ease 0s; transform: translateZ(0px);”>

    Thanks for helping again,
    David

    #1408365

    But I dont know why it keeps disappearing, maybe I am attaching a screenshot below.

    Thank you again

    #1408366

    Hi,

    I see, the reason why it has those inline because Shrinking Header is enabled.
    You can disable it in Enfold Theme Options > Header > Header Behavior > Shrinking Header.
    The last one from the slideshow, unfortunately, cannot be removed since those values are used by the slider.

    Best regards,
    Nikko

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.