zpupster Posted April 28, 2015 Share Posted April 28, 2015 I am trying to change the body background for the product_info page. and leave it the same for all others. On template_top i am replacing the <body> tag with this: <?php if ($PHP_SELF == 'product_info.php') { echo '<body>') ; }else{ echo '<body class="index"'); } ?> the classes are changed in the stylesheet. Link to comment Share on other sites More sharing options...
Hotclutch Posted April 28, 2015 Share Posted April 28, 2015 Try replacing $PHP_SELF with basename($PHP_SELF) Link to comment Share on other sites More sharing options...
ken0306 Posted April 28, 2015 Share Posted April 28, 2015 why don't you add another body class in your product_info page by using something like body { color:#yourcolorcode !important } in your product_info page Link to comment Share on other sites More sharing options...
burt Posted April 28, 2015 Share Posted April 28, 2015 Make a Header Tag module, to do Kens idea. Don't change core code. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.