-
AuthorPosts
-
bobptz Friend
bobptz
- Join date:
- November 2016
- Posts:
- 178
- Downloads:
- 8
- Uploads:
- 19
- Thanks:
- 1
- Thanked:
- 1 times in 1 posts
September 8, 2017 at 9:03 pm #1061234Hi
After optimizing the website, I have the following lines in the HEAD section:
<link href="/t3-assets/css/css-c8fc0-22395.css" rel="stylesheet" type="text/css"/> <link href="/t3-assets/css/css-39c54-22395.css" rel="stylesheet" type="text/css"/>
I want to make them INLINE. Like this:
<style type="text/css" media="all"> html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]) </style> <style type="text/css" media="all"> #system-message{margin-bottom:10px;padding:0}#system-message>dt{font-weight:bold;display:none}#system-message>dd{margin:0;font-weight:bold;text-indent:30px}#system-message>dd>ul{color:#0055BB;background-position:4px top;background-repeat:no-repeat;margin-bottom:10px;list-style:none;padding:10px;border-top:3px solid #84A7DB;border-bottom:3px solid #84A7DB}#system-message>dd>ul>li{line-height:1.5em}#system-message>.message>ul{background-color:#C3D2E5;background-image:url(/templates/system/images/notice-info.png)}#system-message>.error>ul,#system-message>.warning>ul,#system-message>.notice>ul{color:#c00}#system-message>.error>ul{background-co........ </style>
I want to do this as part of the pagespeed optimization process.
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
September 11, 2017 at 1:43 am #1061359Hi
At this time we have Compression option in the T3 that will compile the template css file, while some files like system css from Joomla is not included.
So if you want to set it in line you can directly open the css file and optimize it or you can disable the css compression from T3 and use any 3rd party compression extension to compress the css files.Regards
bobptz Friendbobptz
- Join date:
- November 2016
- Posts:
- 178
- Downloads:
- 8
- Uploads:
- 19
- Thanks:
- 1
- Thanked:
- 1 times in 1 posts
September 11, 2017 at 4:54 am #1061379Hello
From what I understand, the following Joomla core files are included the compiled css files produced by putiry:
/media/system/css/system.css
/templates/system/css/system.cssMy questions are:
Does the entire compiled css code eventually go into every joomla page? I think not, as there are several different css files produced (in /t3-assets/css/), with different codes, that go to different joomla pages:
css-39c54-81131.css
css-39c54-04887.css
css-39c54-73970.css
css-39c54-85312.css
If this is the case, I do not think I can eer reproduce the logic of deciding which css goes to which joomla page.However if ALL compiled code goes to ALL pages, could you please tell me where are the source LESS files? Are they here?
/templates/purity_iii/lessPankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
September 11, 2017 at 5:04 am #1061382Hi
All tge less files are coming from less folder in template and css compression option will not work when development mode is ON.Regards
-
AuthorPosts
This topic contains 3 replies, has 2 voices, and was last updated by Pankaj Sharma 7 years, 2 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum