Been looking at this online but didn't seem to find an answer that relates to my problem.
I have a static block on top of my page. Very simple one
<div class="col-sm-12" style="background-color: red;>
<div class="row">
<h2 style="text-align: center; height:70%;"> I'm out of the office</h2>
</div>
</div>
I setup it up on my header.phtml like this
<?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('header_out')->toHtml(); ?>
The thing is I don't want it on my cart and checkout pages.
I thought about css and display:none, but since that's added on the header, how can I hide them on those two pages?
Thanks