• WPO+

    (@ivanpr)


    Dear developers, thank you for a great plugin!
    May I please ask for an additional option: to Manually include the CSS and not load the <link rel=’stylesheet’ id=’cookie-notice-front-css’ href=’https://www.domain.name/wp-content/plugins/cookie-notice/css/front.min.css&#8217; type=’text/css’ media=’all’ /> in the header of the website?

    The CSS is quite small and

    Thank you.
    Ivan

    p.s. I know this could be done with the help of:

    add_action(‘wp_print_styles’,’dequeue_my_CSS’, 100);
    function dequeue_my_CSS() {
    wp_dequeue_style(‘cookie-notice-front’);
    wp_deregister_style(‘cookie-notice-front’);
    }

Viewing 1 replies (of 1 total)
  • Thread Starter WPO+

    (@ivanpr)

    p.s. it would also be nice to be able to select a semi-transparent CSS background color for the notice….

Viewing 1 replies (of 1 total)

The topic ‘Manually include the CSS’ is closed to new replies.