-- HikaShop version -- : 2.4.0
-- Joomla version -- : 3.4.3
I want to replace the star icons with custom icons but I do not want to do them in a sprite PNG like the default system has them. I want to generate them with CSS and a Font.
I know how to create the icons and style them and all the fundamentals of that but when I try to add the markup to the files the pages do not render the new markup and just ignores my changes.
I added custom markup to accomplish what I want in "vote / mini.php" but it is not rendering the markup and thus not rendering the icons.
for($i = 1; $i <= $hikashop_vote_average_score_rounded; $i++) {
echo '<span class="ui-rating-star ui-rating-full"></span>';
}
for($i = $hikashop_vote_average_score_rounded; $i < $hikashop_vote_nb_star; $i++) {
echo '<span class="ui-rating-star ui-rating-empty"></span>';
}
REPLACED WITH
for($i = 1; $i <= $hikashop_vote_average_score_rounded; $i++) {
echo '<span class="ui-rating-star ui-rating-full"><i class="fa fa-star"></i></span>';
}
for($i = $hikashop_vote_average_score_rounded; $i < $hikashop_vote_nb_star; $i++) {
echo '<span class="ui-rating-star ui-rating-empty"><i class="fa fa-star"></i></span>';
}
I also did it to "vote / listing.php" but that is also ignoring the markup so the icons are not working.
Can someone please explain to me how I can make the markup render correctly to the page? I can take it from there.