Jump to content

output css to front end


Recommended Posts

if I do this:

 

$color = "black";

 

$style = "<style>body{background:$color;;}</style>";

 

$this->_html .= $style;

}

 

My backgorund will be black.

 

If I want to apply this style to the front end, how do I do that form here?

Link to comment
Share on other sites

×
×
  • Create New...