NOTE : UPDATED MY QUESTION
Some times, we have to overwrite the css file in template page, by using following code
<?php $this->headLink()->appendStylesheet(BASE_URL . 'css/test.css'); ?>
This appends first file with all existing css file in our page.
For example,
<link href="/css/test.css" media="screen" rel="stylesheet" type="text/css" />
<link href="/css/css.css" media="screen" rel="stylesheet" type="text/css" />
<link href="/css/front.css" media="screen" rel="stylesheet" type="text/css" />
From Above source, test.css is appended.I need that be after front.css
it make new css file is overwritten by default css file.This results our new css is not reflecting in site. so we need to keep include the css file at end.
How can we include in zend? kindly advice on this.
Use
prependStylesheet($href, $media, $conditionalStylesheet, $extras)instead of append. Or even cleaner, use the helpers for all your stylesheets and append them in the right order.