Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • bobptz Friend
    #1061234

    Hi

    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.

    • This topic was modified 7 years, 2 months ago by  bobptz.
    • This topic was modified 7 years, 2 months ago by  bobptz.
    • This topic was modified 7 years, 2 months ago by  bobptz.
    Pankaj Sharma Moderator
    #1061359

    Hi
    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 Friend
    #1061379

    Hello

    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.css

    My 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/less

    Pankaj Sharma Moderator
    #1061382

    Hi
    All tge less files are coming from less folder in template and css compression option will not work when development mode is ON.

    Regards

Viewing 4 posts - 1 through 4 (of 4 total)

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