nil2567 Posted August 30, 2012 Share Posted August 30, 2012 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 More sharing options...
rseigel Posted August 30, 2012 Share Posted August 30, 2012 In the global.css file for your theme. Link to comment Share on other sites More sharing options...
shokinro Posted August 31, 2012 Share Posted August 31, 2012 you should avoid using code to make the style changes. Instead you need to change it style files. As member rseigel pointed out, you need to change this at following file /YourStoreRoot/themes/YourStoreTheme/css/global.css Link to comment Share on other sites More sharing options...
Recommended Posts