Tagged: #inlinecss #css
-
AuthorPosts
-
May 23, 2023 at 12:54 am #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 2 years, 5 months ago by
davidv126.
May 23, 2023 at 5:36 pm #1408313May 23, 2023 at 6:37 pm #1408322add 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 );May 24, 2023 at 3:03 am #1408347Hi davidv126,
Please follow @Guenni007’s suggestion.
@Guenni007 thanks for helping out :)Best regards,
NikkoMay 24, 2023 at 4:05 am #1408364Unfortunately 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,
DavidMay 24, 2023 at 4:08 am #1408365But I dont know why it keeps disappearing, maybe I am attaching a screenshot below.
Thank you again
May 24, 2023 at 4:31 am #1408366Hi,
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 -
This topic was modified 2 years, 5 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.
