Help removing render blocking css with speedbooster

Posted in: Newspaper
Post count: 11

Hello.

I inserted the code below on td-speed-booster.php using the IDs functions.php returned me, but when I run pagespeed test again, the css continue there to be optimized.

/**
* here we move the css
*/
function css_mover() {
if ($this->td_theme_name == ‘Newspaper’) {
// wp 011 – Newspaper 6

//$this->move_style_to_footer_queue(‘bbp-default-bbpress’); //bpress old
//$this->move_style_to_footer_queue(‘bbp-default’); //bpress
$this->move_style_to_footer_queue(‘google_font_open_sans’);
$this->move_style_to_footer_queue(‘google_font_roboto’);
$this->move_style_to_footer_queue(‘contact-form-7’);

//Rafael
$this->move_style_to_footer_queue(‘sportspress’);
$this->move_style_to_footer_queue(‘wp-polls’);
$this->move_style_to_footer_queue(‘js_composer_front’);
$this->move_style_to_footer_queue(‘sportspress-icons’);
$this->move_style_to_footer_queue(‘dashicons’);

Do you know why? For .js I did and worked correctly.

(Pagespeed test)
Otimize a exibição de CSS dos seguintes itens:
http://www2.netflu.com.br/…ss/assets/css/sportspress.css?ver=1.9.15
http://fonts.googleapis.com/…00italic,600italic,400,600,700&ver=6.6.5
http://fonts.googleapis.com/…00italic,700,500italic,400,300&ver=6.6.5
http://www2.netflu.com.br/…plugins/wp-polls/polls-css.css?ver=6.6.5
http://www2.netflu.com.br/…assets/css/js_composer.min.css?ver=6.6.5
http://www2.netflu.com.br/…ortspress/assets/css/icons.css?ver=6.6.5
http://www2.netflu.com.br/…includes/css/dashicons.min.css?ver=6.6.5
http://www2.netflu.com.br/…cons/genericons/genericons.css?ver=6.6.5
http://www2.netflu.com.br/…lugins/jetpack/css/jetpack.css?ver=6.6.5
http://www2.netflu.com.br/…ent/themes/Newspaper/style.css?ver=6.6.5

Thanks in advance,
Rafael

Post count: 23312

Hello Rafael Menezes,

First of all, please ensure that you have activated the Speed Booster plugin. Check your used plugins list to be compatible with Speed Booster and then please check this -> https://forum.tagdiv.com/how-to-make-the-site-faster/ and try to follow the steps from this tutorial.

Hope this helps!

Thank you for the message!

Post count: 11

Hi, Catalin. Thanks for response!

Speed Booster is active: Speed Booster v4.2 – Active

For files .js it worked perfectly. I did exactly as this tutorial but for css files is not working. At least that’s what shows PageSpeed test above.

Post count: 23312

Hello Rafael Menezes,

Please ensure again you have followed the correct steps that are presented in our tutorial above. Try to clear all cache and check your page source and see if your render blocking is moved to the footer section -> http://screencast.com/t/BXNo5f3n Also, please notice that is only for advanced users and if you are not aware with these settings for website according to this tutorial we cannot do that for you because we do not offer custom services at the moment sorry!

Thank you for your understanding!

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.