• Hi,
    I would like to change the size of the radio button.
    I can’t find the rule to add as custom CSS.

    Thanks
    Giusy P.

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Support Iván Sosa

    (@ivansosa)

    Hello there,

    try to add this CSS rule in Appearance > Customize > Additional CSS:

     .yith-wapo-option input[type='radio'] { 
         transform: scale(2); 
     }

    Have a great day!

    Thread Starter visureclic

    (@visureclic)

    Hi Ivan,
    I’m sorry but it doesn’t work …

    Giusy P.

    Plugin Support Iván Sosa

    (@ivansosa)

    Hello there,

    hope you are doing well! ??
    We are testing it on your site and it seems to work.
    Please, take a look at this screenshot.

    Have a great day!

    Thread Starter visureclic

    (@visureclic)

    Hi Ivan,
    thank you! Now works!

    I just have one last question.
    I would like to change the Italian translations of the fields in the order summary table (in the same page) but it doesn’t work with the Loco Translate plugin.
    In particular, the “Total order:” field exists but the change in the frontend isn’t implemented.
    Instead the fields “Product price:” and “Total options:” don’t exist at all.
    How can I solve?
    Thanks a lot!

    Giusy P.

    Plugin Support Iván Sosa

    (@ivansosa)

    Hi there,

    hope you are doing well! ??

    Try to add this custom code in the functions.php of your theme:

    if ( ! function_exists( 'yith_custom_wapo_table_total_order_label' ) ) {
     function yith_custom_wapo_table_total_order_label($label){
            $label = 'Order total';
     return $label;
        }
     add_filter('yith_wapo_table_total_order_label', 'yith_custom_wapo_table_total_order_label');
    
    }

    And change the label ‘Order total’ with the translated string.

    Have a nice day!

    • This reply was modified 2 years, 10 months ago by Iván Sosa.
    • This reply was modified 2 years, 10 months ago by Iván Sosa.
    Thread Starter visureclic

    (@visureclic)

    Hi Ivan,
    sorry but it doesn’t work because there are syntax errors like these:

    syntax error, unexpected ‘&’

    syntax error, unexpected ‘yith_custom_wapo_table_total_o’ (T_STRING), expecting ‘(‘

    How can I solve?
    Thanks
    Giusy P.

    Thread Starter visureclic

    (@visureclic)

    Hi,
    SOLUTION
    Edit string directly in the PHP file.
    The translation into Italian is not feasible because, even by modifying the .po file and having write permissions, the modification is not accepted, perhaps due to a defective “Italian” file. In fact, the “French” .po file works regularly.

    ADVICE
    review plugin

    Plugin Support Alessio Torrisi

    (@alessio91)

    Hi there,
    I can’t replicate the issue with the code suggested by my colleague, are you sure that you didn’t a typo mistake?

    About the .po file is ok by my side, so it’s very strange. Edit the core file is not recommended because you will lost any change on the next official update.

    We remain at your disposal.

    Thread Starter visureclic

    (@visureclic)

    Hi Alessio,
    no typo mistake…with copy-paste it isn’t possible.
    With Loco Translate the changes to the Italian translation are not accepted but the permissions are ok.
    I agree that it would be better not to touch the core but to extreme evils extreme remedies.
    Regarding the updates … if I consider it appropriate to continue using the plugin, I will also try to find a solution for the translations!

    Giusy P.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Radio Button’ is closed to new replies.