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

PDF export format user mention

Filip October 4, 2020

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
Atlassian Team members are employees working across the company in a wide variety of roles.
October 6, 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!

Filip October 7, 2020

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
AUG Leaders

Atlassian Community Events