Have anyone tried changing css (maybe changing the background color) based on certain condition? I’m not getting any result
I have tried something like this code in onApplicationInit()
if ([variable1] == 1) {
?><script type=“text/javascript”>
$( document ).ready(function() {
$(“body”).css(“background-color: #000000”);
});
</script><?php
}
Thank you