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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

How do I right justify content in a Text Gadget?

Brenda Henderson
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
Nov 15, 2023

I am using the Text gadget on my dashboard to provide information to the team.  I have a section of the gadget that is centered and another section I want right justfied.

<center>
<font size="+2" color="#4B0082">
<b>
THIS IS THE AREA WHERE THE TEXT IS CENTERED AS EXPECTED
<br>
<right>
<font size="+2" color="#006400">
<b>
THIS IS THE AREA I WANT TEXT TO RIGHT JUSTIFY
BUT IT WILL NOT
IT REMAINS CENTERED
<br>

How do I get the section to justify right?

1 answer

0 votes
Kseniia Trushnikova
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Nov 15, 2023

Hi @Brenda Henderson,

The tag center is deprecated, use the CSS property text-align instead. Please refer to HTML documentation, for example https://developer.mozilla.org/en-US/docs/Web/HTML/Element/center.

Your HTML for the gadget Text should look like this:

<p style="text-align: center; color: #4B0082; font-size: x-large; font-weight: bold;">
THIS IS THE AREA WHERE THE TEXT IS CENTERED AS EXPECTED
</p>
<p style="text-align: right; color: #006400; font-size: x-large; font-weight: bold;">
THIS IS THE AREA I WANT TEXT TO RIGHT JUSTIFY
BUT IT WILL NOT
IT REMAINS CENTERED
</p>

Please be informed that the Text gadget is deprecated in Jira 9.11, see release notes. You may want to use the Rich Text gadget instead.

Brenda Henderson
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
Nov 16, 2023

Thanks for the info.  It has resolved my quandry

Kseniia Trushnikova
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Nov 16, 2023

@Brenda Henderson, happy to help! Please click the Accept answer button to mark this question as solved.

Suggest an answer

Log in or Sign up to answer