@Cheapy
1) On homepage this button does not exist, it means it was place outside listing loop or in incorrect file, communicate with your theme developer
2) Placing this to user alert loop or user list/grid does not give any sense, as only user that has posted those listings can make them favorite from those pages, so does not do it on those pages
3) On search page code is entered on incorrect place outside <li></li> tags.
In code you have sent before you would place it not like this (INCORRECT):
//latest items
if($type == 'latestItems'){
$listcount = 0;
echo '<ul class="isotope row">';
while ( osc_has_latest_items() ) {
echo fi_make_favorite();
?>
<?php $size = explode('x', osc_thumbnail_dimensions()); ?>
<li class="item listing-card col-sm-6 col-md-<?php echo $cols;?> <?php if(osc_item_is_premium()){ echo ' premium'; } ?>">
<div class="figure">
<figure>
<?php if( osc_images_enabled_at_items() ) { ?>
<?php if(osc_count_item_resources()) { ?>
<a class="listing-thumb" href="<?php echo osc_item_url() ; ?>" title="<?php echo osc_esc_html(osc_item_title()) ; ?>"><img src="<?php echo osc_resource_thumbnail_url(); ?>" title="" alt="<?php echo osc_esc_html(osc_item_title()) ; ?>" width="<?php echo $size[0]; ?>" height="<?php echo $size[1]; ?>" class="img-responsive"></a>
<?php } else { ?>
but in this way (CORRECT):
//latest items
if($type == 'latestItems'){
$listcount = 0;
echo '<ul class="isotope row">';
while ( osc_has_latest_items() ) {
?>
<?php $size = explode('x', osc_thumbnail_dimensions()); ?>
<li class="item listing-card col-sm-6 col-md-<?php echo $cols;?> <?php if(osc_item_is_premium()){ echo ' premium'; } ?>">
<?php echo fi_make_favorite(); ?>
<div class="figure">
<figure>
<?php if( osc_images_enabled_at_items() ) { ?>
<?php if(osc_count_item_resources()) { ?>
<a class="listing-thumb" href="<?php echo osc_item_url() ; ?>" title="<?php echo osc_esc_html(osc_item_title()) ; ?>"><img src="<?php echo osc_resource_thumbnail_url(); ?>" title="" alt="<?php echo osc_esc_html(osc_item_title()) ; ?>" width="<?php echo $size[0]; ?>" height="<?php echo $size[1]; ?>" class="img-responsive"></a>
<?php } else { ?>
Than you can apply custom CSS styles on element:
.listing-card .fi_make_favorite {}