Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple Styles in Headers

Zack Fair June 12, 2018

My space header will have two parts, a company name and a company slogan. How can I assign different CSS styles to text inside the header? (Look and Feel > Sidebar, header and footer > Header)

I was unsuccessful with the following:

{column:id=name-text}My Company {column:id=slogan-text} Our Slogan

 

2 answers

1 vote
Zak Laughton
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 3, 2018

Hi Zack!

You can apply styles to the header by using Confluence Wiki Markup. Try using the {color} tag like this:

{color:blue}My Company{color} {color:grey}"We're the best!"{color}

(For more styling tips, see Confluence Wiki Markup)

Zack Fair November 14, 2018

I was hoping for a way to reference a CSS class, so I can control multiple attributes of font styling.

0 votes
Zack Fair November 15, 2018
I ended up creating a new page, making my header with multiple CSS styles. Then I put the header into an excerpt.
Then in the header text field I put this:
{excerpt-include: myHeaderPage|nopanel=true}

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events