Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How do I change the font size in the header of a expand macro?

Selvestre Raymundo May 29, 2019

How do I change the font size in the header of a expand macro?

1 answer

1 accepted

0 votes
Answer accepted
Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 3, 2019

Hello Selvestre,

Thank you for contacting us.

Can you confirm which version of Confluence this is for? I believe you might be on Cloud, and if so, it is not possible to modify the appearance of macros.

If you are on Server, then you would need to either edit the source code of the macro itself, or embed CSS into the page to style the title. This is a restricted feature in Cloud, so it is only possible in Server.

I hope that clarifies things but do let me know if you have any questions.

Regards,

Shannon

Filip Lindhe July 18, 2019 edited

Hello Shannon.
The HTML Macro for the cloud can't use

<style>
.expand-control-text {
font-size:130%;
}
</style>

to change the size of expand? is this correct?

because it doesn't seem to work. it does nothing to my page.

Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 26, 2019

Hello Filip,

That is correct. Per Functional Differences in Confluence Cloud, it is not possible to modify the Look and Feel using custom CSS:

On Atlassian Cloud, Confluence uses a custom theme that can't be modified or updated using custom HTML or CSS. For more information on custom themes in Confluence Cloud, refer to Working with Themes.

Confluence Cloud Developer community: You can also create your own theme for Confluence Cloud. Check out the Theme page in our Confluence Cloud Developer page.

Let me know if you have any questions about that.

Regards,

Shannon

DSell
Contributor
June 29, 2023

@Shannon S, where would this macro be applied on Confluence Server?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Upcoming Confluence Events