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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

PDF export format user mention Edited

Hi!

I have confluence page that contains users mentioned with '@'. I am exporting this page to PDF, and my name is styled in differend way (it has got the blue background color). Could you, please, help me, how to style all user mentions equally?

 

Mentions in my confluence page have weird css selectors:

- sc-cGDfzg

- dxCfSB for my mention or dxwBDt for another user mention

and configuring them doesn't work in PDF stylesheet settings

 

Thank you!

1 answer

0 votes
Diego Atlassian Team Oct 06, 2020

Hello @Filip !

The behavior that you noticed is the expected behavior of the mentions in Confluence. The mentions will always be differently styled to show the current user (if mentioned) highlighted. I tried to style it using different classes names, such as:

  • Current-user-mention (from the source view of the page)
  • mentionView-content-wrap (from the editing screen)
  • ifvbZX (from the view screen)

The stylesheet customisations did not affect the mention macro because it is not one of the classes specified in the confluencedefaultpdf.css class.

You can check more details here:

Let us hear from you!

Hi @Diego!

Thank you for your answer :) 

So, if I understand correctly, there is no way to customize style of user mention in generated PDF file?

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
Community showcase
Published in Confluence

Announcing Team Calendars in Confluence Data Center

Hi Community! We're thrilled to share that Team Calendars for Confluence is now a built-in feature for Confluence Data Center releases 7.11 and beyond.  A long time favorite,  Team Cale...

187 views 0 6
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