Totara Learn Open Discussions

تمت إزالة منتدى المناقشة هذا

 
لقد تمت إزالة مشاركة المنتدى هذه
Sunday, 2 August 2020, 5:04 AM
تمت إزالة محتوى هذه المشاركة في المنتدى ولم يعد من الممكن الوصول إليها
Craig Eves
Re: Can we add external css or style tag and JavaScript into an HTML block?
بواسطة Tuesday, 4 August 2020, 5:02 PM - Craig Eves (Totara Support)
مجموعة Totara

Hi Kanaat

Any non standard content or scripts will be deleted by the editor to prevent malicious content being inserted.

I think the best way to apply CSS to a specific block would be to add the CSS code as Custom CSS under Site admin > Appearance > Themes > Basis

Apply the CSS code to the block instance for example if the block id is 9 then the CSS can be applied to just that block as below

#inst9.block_calendar_month .header{background-color: #008aaf;color:#FFF;}

Regards