Style.css – In header Theme Newsmag

Posted in: Newsmag
Post count: 142

hi,

I wanted to know, if it was possible to fit the style directly into the header of Newsmag theme to improve the Google Page Speed

eg <style type = “text / css” media = “all”> ….. </ style>

I await your notice, good job

Post count: 6535

Hi

By default our css is loaded in head, before the page body. In order to improve your page-speed please check our documentation: https://forum.tagdiv.com/how-to-make-the-site-faster/

Thanks!

Post count: 142

But the problem remains the Style.css file

Since many sites use this system, the style code in header directly is their site has a value of more than 90/100 on the mobile.

I wanted to know if we could do this also your thema

here’s a sample view-source:http://www.controcampus.it/

I await your notice, good job

  • This reply was modified 10 years by orlando.
Post count: 6535

Hi

Our theme load the css in header as you can see here: http://screencast.com/t/RZqlmhXuHRqh However when it comes to page-speed there are many factors which can influence it. First is not recommended to have many resources in page’s header because the page load it’s slowed down. Also you can’t move all resources in footer because some of them are required in header. Our theme is very complex and we decided to keep the css in header for a nice layout on page’s first load. However this may slow your page speed as the css it’s pretty big and its loading may take some time.
Other sites which use other themes may have a high page-speed keeping lots of resources in header, if these resources have small sizes or are loaded using a deffer system.

Thanks!

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