• Great plugin the function work perfectly well and lightweight!

    However, when i added the add_filter in [Code Snippet Pro] (run the code in both frontend and admin) as descriebd to customize my own color style , it show noting in frontend. I wonder if i missed anything.

    add_filter(‘izbet_style_text_color’, function() { return ‘#4CC4A4’; });
    add_filter(‘izbet_style_border_color’, function() { return ‘#247DE0’; });
    add_filter(‘izbet_style_tooltip_text_color’, function() { return ‘#4CC4A4’; });
    add_filter(‘izbet_style_tooltip_background_color’, function() { return ‘rgba(0, 010, 030, .85)’; });
    add_filter(‘izbet_style_tooltip_font_size’, function() { return ‘.8rem’; });
    add_filter(‘izbet_style_tooltip_padding’, function() { return ‘.6rem’; });
    add_filter(‘izbet_style_tooltip_border_radius’, function() { return ‘.3rem’; });

Viewing 1 replies (of 1 total)
  • Plugin Author Ivan Zhuck

    (@ivanzhuck)

    Thank you for using “IZ Block Editor Tooltips”.

    To solve the issue, just add the parameter ‘priority’ which has a value more than 10:

    add_filter('izbet_style_text_color', function() { return '#4CC4A4'; }, 20);
    add_filter('izbet_style_border_color', function() { return '#247DE0'; }, 20);
    add_filter('izbet_style_tooltip_text_color', function() { return '#4CC4A4'; }, 20);
    add_filter('izbet_style_tooltip_background_color', function() { return 'rgba(0, 010, 030, .85)'; }, 20);
    add_filter('izbet_style_tooltip_font_size', function() { return '.8rem'; }, 20);
    add_filter('izbet_style_tooltip_padding', function() { return '.6rem'; }, 20);
    add_filter('izbet_style_tooltip_border_radius', function() { return '.3rem'; }, 20);
    • This reply was modified 8 months ago by Ivan Zhuck.
Viewing 1 replies (of 1 total)
  • The topic ‘Great Plugin But Don’t know why to change css’ is closed to new replies.