Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to use CSS class in field values?

Peter Baschan
Contributor
May 18, 2026

Hi,

 

I have created an AutoLink field (field name: tag) on a form which I am using as the source for a smart multi-select field on another form (field name: tagsSelected) to display a list of selected values formatted as a URL with a label.

When I render the field, it shows up as a nice list of single word links with a space in the middle. Is there a way to apply the built-in Confluence CSS class, that renders the page labels to my tagsSelected field? So, instead of a list of blue hyperlinks, it shows up as clickable lozenges? I understand that I can use CSS classes in the CSS property textbox, but how do I specify it exactly? I believe the built-in class for the page label is:

class = "aui-label-split-main" or its parent class= "aui-label"

What should I enter to get that class applied?

I tried:

  • class:"aui-label-split-main"
  • class:aui-label-split-main

Also, do I have to add that CSS property against the tagsSelected field or to the AutoLink (tag) field on the source?

 

Thank you in advance.

Peter 

1 answer

0 votes
marc -Collabello--Phase Locked-
Community Champion
May 18, 2026

I don't believe you can apply individual CSS classes.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events