Cloud: Code block background color

Hi! We are using Atlassian Confluence and JIRA Cloud. This is a 2 part question.

1. Is there a way to change/customise the current "Confluence" theme (or any theme for the matter)?

2. When specifying, for example, {code:sql} code block macro, how to change background color of the block?

1 answer

This widget could not be displayed.
Ann Worley Atlassian Team Oct 11, 2017

For question 1: Please see: Restricted functions in Confluence Cloud

As Confluence uses a custom theme, it is not possible to customize the layout.

For 2: You can format the colors and text by changing the theme and syntax highlighting but you cannot change the background to a custom color:

Screen Shot 2017-10-11 at 2.53.24 PM.pngScreen Shot 2017-10-11 at 2.53.00 PM.png

Hi @Ann Worley

Thanks for the response. Where do I navigate to  "Edit 'Code Block' Macro" ?

All I have is the _Configure Code Macro_, which I believe is different from what you had there. This is what I see...


Ann Worley Atlassian Team Oct 16, 2017

I see that on my instance too, it is for setting the global default. On a page where you are using the macro, you may put the page in edit mode, then click the grey border to pull up the Edit/Remove box:

Screen Shot 2017-10-16 at 1.40.42 PM.png

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

216 views 3 0
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you