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!
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!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I would also like a css solution to change the text color in the pdf export. I have applied some CSS which makes my name come up in white text without the blue back ground. This makes my name come up as invisible in the pdf export.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.