Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • veeco Friend
    #156889

    i’ve been playing with T3 for several month… but still could not find idea on how to differentiate between template.css and layout.css in T3 Framework

    Anybody can share the light ?

    Phill Moderator
    #364721
    veeco Friend
    #364787

    Yes, i read that already… but consider me as a dumb, as i can’t find on how JA differentiate between layout.css and template.css

    there are parts are set in layout.css, some are in templates.css… why don’t just combine them ?

    @phill, please show me the part in wiki which give understanding about layout.css and template.css

    Phill Moderator
    #364788

    The css files get combined by the jat3 plugin before generating the page. Why they start out in 2 separate files? I do not know. Probably because it helps during development. Hopefully one of the devs will respond.

    korb Friend
    #365066

    Hi,

    If you have a look at these two files, you will understand that each have specific purpose.
    – The layout.css is only for margins, paddings, width, height, floating, overflow and positioning. The very basic layout arrangement for the main HTML block elements (header, spotlights, left + right columns, modules, footer) if you want. This is to make sure that the above mentioned CSS instructions will not break the layout. That is why it is a separate file.

    – The template.css is to really style, I mean really set font families, font sizes, colors and background images, and override the basic styling of layout.css for specific cases (EG left1+left2 to form a column, the margins will be different).

    Hope this makes clear enough.

    Regards,
    Danny

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

This topic contains 5 replies, has 3 voices, and was last updated by  korb 13 years, 12 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum