Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: Clean Commerce Pro use fonts.googleapis.com/css #76796
    Allan Godard
    Participant

    Hello,

    This code work but when i refresh the site, the navigator charge the wen css and after my css. Isn’t fluid.

    Best regards.

    Allan

    in reply to: Clean Commerce Pro use fonts.googleapis.com/css #76789
    Allan Godard
    Participant

    Hello,

    Finally i have add this function

    add_action (‘wp_head’, ‘remove_web_font’, 10);
    function remove_web_font () {
    remove_action (‘clean_commerce_action_theme_custom_css’, ‘clean_commerce_add_theme_custom_font_css’);
    }

    What do you think about this practice?

    Thank you for your help,

    Best regards

    Allan

    in reply to: Clean Commerce Pro use fonts.googleapis.com/css #76671
    Allan Godard
    Participant

    Hello,

    Thank you for your reply.

    I’m sorry but your proposal doesn’t work because my css is charged before your custom css font.
    The function clean_commerce_add_theme_custom_font_css charge the font directly in the head after my style.css.

    Best regards.

    Allan

Viewing 3 posts - 1 through 3 (of 3 total)