Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Is there a list with allowed CSS for static macros?

Hi, 

I am currently working on a static macro for confluence cloud and struggle with styling the elements of my macro.

The problem is, that some css properties are stripped from my *.hbs files. I am aware that the *.hbs must be valid Confluence Storage Format (https://confluence.atlassian.com/doc/confluence-storage-format-790796544.html). However, there are no hints which attributes are allowed and which not.

So far I found out, that the following are not allowe:

  • calc()
  • position

1 answer

0 votes

Hello @seebaer1986,

Welcome to Atlassian Community; it's nice to meet you!

You can only return Confluence Storage Format with a Static Content Macro. You may also be interested in this discussion on our Developer Community:

If you have any further questions about this, I would recommend that you redirect your search to our Atlassian Developer Community. There, you will find that there are others like yourself who are developing for Confluence Cloud and are able to answer your questions.

I hope this helps clarify things, but do let us know if you have any further questions.

Regards,

Shannon

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence Cloud

Confluence Bingo Round 3!

That’s right! Grandma’s back at it again, and this time she’s brought all her friends. In honor of Team '21, this Bingo round is dedicated to all things team-related, and the prizes are no exception....

2,943 views 31 22
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you