Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,298,364
Community Members
 
Community Events
165
Community Groups

How to change font size in paragraph or code blocks?

Is there a way to change the size of a font in paragraph blocks and code blocks? Paragraph blocks are less troublesome but lack of auto-hyphenation or justification makes for clunky appearance and wasting space when crowding in diagrams around text.

Code blocks, however, really need to change font size to fit a long line sometimes. Scroll bars really don't work well when page or viewing space is limited. Also, code blocks generally need to be more flexible.

Suggestions? I'm happy to figure out CSS scripts if I really need to do so but I need a lead to find out where to begin. (We've been using Confluence over two years.)

1 answer

0 votes
Bill Bailey Community Leader Mar 24, 2022

Hello @Christopher Ison , you can update the site-level or space-level CSS files to do what you want.

If you want more control over just certain instances, you can create a user macro to handle local formatting (the best use model is to just add a classed div tag, and then have the CSS at the site level, to avoid reloading a CSS file multiple times on a page.

Thanks for the quick reply. I found that changing anything to do with the CSS requires admin rights, which I do not have. And the admin are busy doing "real" work, so this is unlikely to be satisfied in our workflow anytime soon.

Thanks for your help!

Bill Bailey Community Leader Mar 24, 2022

"Real" work as in not supporting users? ;-)  Yes, any fix requires admin rights, at least at the space admin level.

Suggest an answer

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

An update on Confluence Cloud customer feedback – June 2022

Hi everyone, We’re always looking at how to improve Confluence and customer feedback plays an important role in making sure we're investing in the areas that will bring the most value to the most c...

181 views 1 3
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