This topic has 2 replies, 2 voices, and was last updated 9 years, 7 months ago ago by Eva Kemp
With this theme, we have “New”, “Sale” label for menu. But we can’t change it in theme option panel. I found this code
<?php if ( etheme_get_option('sale_icon') ) : ?>
.label-icon.sale-label {
width: <?php echo (etheme_get_option('sale_icon_width')) ? etheme_get_option('sale_icon_width') : 67 ?>px;
height: <?php echo (etheme_get_option('sale_icon_height')) ? etheme_get_option('sale_icon_height') : 67 ?>px;
}
.label-icon.sale-label { background-image: url(<?php echo (etheme_get_option('sale_icon_url')) ? etheme_get_option('sale_icon_url') : get_template_directory_uri() .'/images/label-sale.png' ?>); }
<?php endif; ?>
<?php if ( etheme_get_option('new_icon') ) : ?>
.label-icon.new-label {
width: <?php echo (etheme_get_option('new_icon_width')) ? etheme_get_option('new_icon_width') : 67 ?>px;
height: <?php echo (etheme_get_option('new_icon_height')) ? etheme_get_option('new_icon_height') : 67 ?>px;
}
.label-icon.new-label { background-image: url(<?php echo (etheme_get_option('new_icon_url')) ? etheme_get_option('new_icon_url') : get_template_directory_uri() .'/images/label-new.png' ?>); }
<?php endif; ?>
But can’t find it in theme option. Is it a mistake?
Hello,
If you want to change “Sale” and “New” icons you need upload your own images or edit the images wp-content/themes/woopress/images/label-new.png and label-sale.png.
Regards,
Eva Kemp.
You must be logged in to reply to this topic.Log in/Sign up