Tagged: #inlinecss #css
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
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 );
Hi davidv126,
Please follow @Guenni007’s suggestion.
@Guenni007 thanks for helping out :)
Best regards,
Nikko
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
But I dont know why it keeps disappearing, maybe I am attaching a screenshot below.
Thank you again
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