Add in Table IV-A15: Custom css:
.wppa-rating-star {
height: 24px !important;
}
for 24 pixels
Thanks for that. Im trying to find a balance between bigger stars and the Avg rating and My rating being on different lines when displayed. Which file has the list of all the classes so I can go in and change the break points, padding, etc.
In Table I-B7 you can set the value where (if the slideshow width is smaller) the abbreviated texts are used
That is a little bit helpful in some situations. The problem I am having is that I would like the stars to be fairly prominent and on some screen sizes the second set of stars flows over onto the next line. If I had the “average rating” and “my rating” on completely different lines this would solve the problem.
I did some tests, but the only solution i can think of is editing wppa-slideshow.php around line 989 it looks like:
// Display my rating
// Logged in or don't care
if ( ! wppa_switch( 'rating_login' ) || is_user_logged_in() ) {
// Show dislike icon?
$pad = round( ( wppa_opt( 'ratspacing' ) - $fs ) / 2 );
if ( $pad < 5 ) $pad = '5';
if ( wppa_opt( 'dislike_mail_every' ) ) {
Add $result .= '<br />'; so it will look like:
// Display my rating
// Logged in or don't care
if ( ! wppa_switch( 'rating_login' ) || is_user_logged_in() ) {
$result .= '<br />';
// Show dislike icon?
$pad = round( ( wppa_opt( 'ratspacing' ) - $fs ) / 2 );
if ( $pad < 5 ) $pad = '5';
if ( wppa_opt( 'dislike_mail_every' ) ) {
Note: This is not update safe. After updating wppa the patch will be gone.