Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Jacob N. Breetvelt

    (@opajaap)

    Add in Table IV-A15: Custom css:

    
    .wppa-rating-star {
    height: 24px !important;
    }
    

    for 24 pixels

    Thread Starter lechank

    (@lechank)

    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.

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    In Table I-B7 you can set the value where (if the slideshow width is smaller) the abbreviated texts are used

    Thread Starter lechank

    (@lechank)

    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.

    Thread Starter lechank

    (@lechank)

    For example:

    https://ibb.co/kBzhwF

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    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.

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    Fixed 6.6.19

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Bigger Stars’ is closed to new replies.