• Resolved gaet

    (@gaet)


    Hi,
    Thanks for your great plugin.
    I’ve a request for an improvement :

    In the frontend_style function (plugins/woocommerce-product-stock-alert/classes/class-woo-product-stock-alert-frontend.php), it would be great if :

    LINE 77
    – check if $alert_text_color is not empty (otherwise there is a syntax error : style="color:")
    – choose the tag of the title (h6) to respect the page semantic

    LINE 137
    – the styles inline will be included only when the button is being present on the page (and not in others pages)
    – the styles inline will be included only if $button_background_color_onhover, $button_text_color_onhover, $button_border_color_onhover are not empty (otherwise there is a w3c error)

    Thanks !

    • This topic was modified 3 years, 10 months ago by gaet.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘frontend_style function’ is closed to new replies.