|
|||
|
Hi,
Just to pass this on - I've gone thru a couple of days of trying to understand why images did not display when I put my new template online. I didn't remove the link to the DW css file in the index.php file - once it was removed all worked as expected. What tripped me up is that the template displays correctly on my local pc using JSAS - but once put on the production site it breaks. Your videos/docs might have covered this but after watch a few times I can't recall. So it might be a good idea to give this a more visibility in next updates or faq. Looking forward to the next release. |
|
|||
|
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. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|