Jump to content

[SOLVED] how to implement css to tpl file


Recommended Posts

Hi,

 

Firstable , I don't use the latest version , I use 1.4.8.3 ( I got a error when upgraded). I gave up and work on the old version.

 

I would like to add some css on my header.tpl but I don't the code to add in order to add css and where my css file should be (root).

 

Reason of this css it 's because I want to create a custom homepage with 1 column width=100% ( center column) but I want to have this same column with another width for page with sidebar. I need to use css.

 

I follow interaction from paul with this link http://mypresta.eu/en/art/developer/one-column-homepage.html and it's help me a lot but I want to finish this little coding issue.

 

on my actual t/l, I have no did and tag .  I have created some but it could not find the css and I presume it's because this t/l file need to have css stylesheet link attached :-)

 

On the latest version , you have something like

 

 

{if isset($css_files)}

{foreach from=$css_files key=css_uri item=media}

<link href="{$css_uri}" rel="stylesheet" type="text/css" media="{$media}" />

{/foreach}

{/if}

 

 

I would like to create a new css or add the global.css . 

 

Could advise for the correct code and where to put the file .

 

Thx

oli

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...