Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How can I set the column width of page properties report?

I am trying to compare different page property reports on one page. However, due to column width differences, they are not aligned.

 

How can I set the column width on a page property report?

4 answers

This is excellent - Thank you!

@Dmitry Ree, can you help me.
I have the next code of my page. Where I should put this style code and how I should change it for my example if I need set up width of Description column equal 250px.

Снимок экрана 2018-10-02 в 17.33.11.png

Artem, the style code above is embedded using the html macro which needs to be enabled by your administrator as it is disabled be default for security reasons.

@Dmitry Ree I have the HTML Macro enabled but I cannot figure out how to get this to work.  Presumably I put your code in an HTML macro window on the same page as the page properties report?  How do I reference the columns in my page properties report?  I want to adjust the width of the second column in my page properties report.  I tried the code in the below screenshot, but it didn't work.  Can anyone help please?

Column Width.JPG

@Dorian Workman try this

<style>
table:first-of-type td.confluenceId {
border: none;
}
table.aui.metadata-summary-macro Th:nth-child(3)
{
 min-width:300px
}
table.aui.metadata-summary-macro Th:nth-child(4)
{
 min-width:300px
}
table.aui.metadata-summary-macro Th:nth-child(5)
{
 min-width:300px
}
</style>
Like # people like this

@Dorian Workman try adding the td tag for columns. You can inspect DOM elements through Chrome Dev Tools.

Hi. I posted a similar question. If any of you are able to assist, I would really appreciate it!

 

Thanks.

https://community.atlassian.com/t5/Confluence-questions/How-can-I-set-the-column-width-of-page-properties-report-follow/qaq-p/1148140

Hello, I have the HTML Macro but I am unable to figure out where to put it? I have the same question: How do I reference the columns in my page properties report? can anyone help me [ I am using Confluence Cloud]

If you have the Table Filter and Charts for Confluence app installed for your instance, you may try the Table Transformer macro and its changing column width feature.

Here is an example with screenshots - just wrap your Page Properties Report macro in the Table Transformer macro and type in a custom SQL query.

0 votes

Hi Sanjana,

There is a feature request asking to be able to set the column widths for Page Properties Report Macro, that you're welcome to vote on and follow:

If you're on Server, you may be able to control the column width using the code mentioned in this Community comment as well as trying to go in with the Source Editor plugin later and specifying it there.

I hope this helps.

Kind regards,

Shannon

Hi guys,

 

Does the above solution work if we have the HTML comment macro using the Marco Toolbox on Confluence Cloud?

 

<style>table:first-of-type td.confluenceId {
border: none;
}
table.aui.metadata-summary-macro Th:nth-child(3)
{
 min-width:300px
}
table.aui.metadata-summary-macro Th:nth-child(4)
{
 min-width:300px
}
table.aui.metadata-summary-macro Th:nth-child(5)
{
 min-width:300px
}</style>

Suggest an answer

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

🥓🙅🏻‍♀️ Meet-less May Badge!

Hello Confluence Community!  What if i told you that you could have a healthier life and be 100% meet-less? This month, we're promoting a healthy, balanced work diet with Confluence. (Read m...

542 views 3 23
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