Help with <?php if ($cat) { ?>
-
I am trying to make my images display smaller, but only when in category view. I have tried the code below, which is the best I can figure out, but it doesnt work. Any ideas how to make this work?
'<?php if ($cat) { ?>
<style type="text/css">
.img_main {
border-style: none;
border:1px solid #E8E8E8;
padding: 6px;
margin-bottom: -10px;
margin-top: -10px;
width: 95px;
height: 95px;
}
</style>
<?php } ?>'
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Help with <?php if ($cat) { ?>’ is closed to new replies.