hi
Open search.php and go to line 311
Change from:
<div>
<span class="name"><?php echo $c['s_name']; ?></span>
<?php echo ($c['i_num_items'] > 0 ? '<em>' . $c['i_num_items'] . '</em>' : ''); ?>
</div>
To:
<div>
<?php if($search_cat_id != 0) { ?>
<img id="cattumbs" src="<?php echo eps_get_cat_image($c['pk_i_id']); ?>" alt="<?php echo osc_esc_html($c['s_name']); ?>" />
<?php } ?>
<span class="name"><?php echo $c['s_name']; ?></span>
<?php echo ($c['i_num_items'] > 0 ? '<em>' . $c['i_num_items'] . '</em>' : ''); ?>
</div>
And add to your custom css:
#cattumbs {
max-width: 14px;
margin: 0 5px 0 0;
}
#search-category-box a.child.active span::before {
content: '> ';
font-weight: bold;
font-size: larger;
}
#search-category-box a.child.active span {
background: rgb(59 73 223 / 10%);
text-decoration: unset;
padding: 2px 8px 2px 2px;
border-radius: 5px;
}
If you like a better looking category box add this to your custom css
#search-category-box {
position: relative;
background: #fff;
border-radius: 6px;
border: 1px solid #ccc;
padding: 16px;
margin: 0 0 16px 0;
}
Thx for the coffee
Lui-G