I regularly use an HTML macro with a `<style>` CSS block that targets different elements to customize the look of our pages on Confluence DC (Server). Our organization is moving to Confluence Cloud, and I was informed the HTML macro is not available for cloud. I searched for alternatives to the HTML macro and found a few options, but all of them insert the HTML as an iFrame.
Are there alternate ways to use to perform this task? I use CSS primarily to add background images to certain blocks, and adjust spacing around other blocks. This prevents me from having to update the images when the background images change.
Hi @Tony Chung
Because Confluence Cloud UX and UI have different looks and logic, HTML macros and CSS are not needed here as much as for the DC version. They can't do most of the things you used to have and, like you mentioned, can work only as a frame, unfortunately.
I can suggest you solution that helps to update the background automatically but maybe this article might be interesting for you to learn how to add background colours and images using built-in and third-party solutions (without HTML https://community.atlassian.com/t5/App-Central-articles/How-to-add-a-background-colour-to-pages-in-Confluence-Cloud/ba-p/2931121
@Tony Chung Did you end up finding a solution for this?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.