Monday, 22 December 2014 15:38
beggarly

Stars center aligned

Provides the ajax five-star rating feature to your articles

Stars center aligned

Postby adre84 » Thu Jul 09, 2009 11:37 am

Hi!
First of all, gratz on this great extension... best ajax stars plugin out there :)

I have content heading center aligned, and i would like to center align the stars also. This way stars will appear exactly under the title of articles.

What i have to do for that?

Thanks for your support.
adre84
Fresh Boarder
Fresh Boarder
 
Posts: 1
Joined: Thu Jul 09, 2009 11:34 am

Re: Stars center aligned

Postby chus » Sat Jul 11, 2009 6:28 pm

Hi!

A possible way is to edit plugins/content/extravote/extravote.php after line 132
Code: Select all
       $html .="</small></span>";


adding a new line like:
Code: Select all
      if ( $xid == 'x' ) { $html = '<center>' . $html . '</center>'; }
User avatar
chus
Administrator
Administrator
 
Posts: 455
Joined: Thu Sep 13, 2007 2:21 am
Location: Costa Rica

Re: Stars center aligned

Postby arthur_abraham » Mon Aug 03, 2009 4:33 pm

that's so nice and useful. thank you so much chus
arthur_abraham
Fresh Boarder
Fresh Boarder
 
Posts: 5
Joined: Mon Aug 03, 2009 4:32 pm


Return to Extra Vote



Who is online

Users browsing this forum: No registered users and 1 guest

cron