Thread: dw css link
View Single Post
  #2 (permalink)  
Old 02-10-2007, 03:47 AM
admin admin is offline
Administrator
 
Join Date: Sep 2006
Posts: 328
Wink

Hello btimms,

Thank you for the feedback there is a line in the template code
that ask you remove the line once your done creating your template.
<!-- This so you can see the css styles in DW you can delete file once editing Template is complete-->
<link href="css/template_css.css" rel="stylesheet" type="text/css" media="all" />

It helps display your styles in DW.

The issue with not seeing the images most be that your adding them to your
css code as url and when the template loads your getting two calls to the style sheets the last one is king.

It does not know where to find the full path to images.

a quick fix may be to place to above the line below.

So it would look like this.

<link href="css/template_css.css" rel="stylesheet" type="text/css" media="all" />

<link href="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/css/template_css.css";?>" rel="stylesheet" type="text/css" media="all" />

Your going to like our new KB and tutorials system. Coming soon.

Cheers,
Brian

Last edited by admin; 02-10-2007 at 03:49 AM.