View Single Post
  #4  
Old 07-22-2015, 07:26 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: advanced customer rating

It's in the table so you can't put a line break. You need to either make 2 rows or combine cells to use line break

Code:
<table class="acr-container{if $is_multicolumns eq "Y"}-multicolumns{/if}"> <tr> <td class="left-indent">&nbsp;</td> {* THIS IS THE RATING *} <td class="rating-box"> <div style="width: {$smarty.const.ACR_STARS_RATING_WIDTH}px">{include file="modules/Advanced_Customer_Reviews/vote_bar.tpl" rating=$general_rating}</div> </td> {* THIS IS THE DROPDOWN ARROW *} {if $use_dropdown_button eq 'Y'} <td class="dropdown-button" title="{$lng.lbl_acr_click_dropdown}"> <a href="{$xcart_web_dir}/get_block.php?block=acr_get_product_ratings&amp;productid={$productid}"><img src="{$ImagesDir}/acr_reviews_dropout_down.png" alt="" /></a> </td> {/if} {* THIS IS THE SCORE/REVIEWS NUMBER TEXT *} <td class="comment" nowrap="nowrap"> (<a href="reviews.php?productid={$productid}{if $cat}&amp;cat={$cat}{/if}">{$general_rating.total} {$lng.lbl_acr_reviews}</a>) </td> <td class="right-indent">&nbsp;</td> </tr> <tr> <td class="left-indent"></td> <td colspan="{$colspan}"><div class="acr-static-popup-container"></div></td> <td class="right-indent"></td> </tr> </table>
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote