Created
March 1, 2022 15:38
-
-
Save AertHulsebos/a097fb226ff0698dc599ffe48b7f3c58 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Completely override CSS generated by Complianz | |
* @param string $css | |
* | |
* @return string | |
*/ | |
function my_custom_banner_css($css){ | |
ob_start(); | |
//add css below | |
?> | |
.cmplz-cookiebanner { | |
} | |
<?php | |
return ob_get_clean(); | |
} | |
add_filter('cmplz_cookiebanner_css', 'my_custom_banner_css'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment