Skip to main content
Nintex Community Menu Bar
Solved

Panel formatting: Title text in font weight bold

  • June 27, 2017
  • 4 replies
  • 233 views

Forum|alt.badge.img+7

On a panel I would like just the title to be in bold. Selecting the panel and then selecting bold in the ribbon (Format text > Font > Bold) applies to the whole panel - e.g. including all controls inside the panel.

 

So I tried applying custom CSS. Knowing little CSS the only thing I can come up with is to set the CSS class of all controls inside the panel to "custom-font" and to then add the following to Form settings > Custom CSS: 

 

.custom-font {
font-weight: normal;
}

 

I would rather just apply a direct custom font to all panel titles!

 

Any ideas?

Best answer by praios81

Hello Yvette,

I added a panel and gave it a custom class customPanel.

In css I added

fieldset.customPanel legend
{
  font-weight: bold;
}

This made only the legend (title) bold. Is that what you need?

Best regards

Enrico

4 replies

Forum|alt.badge.img+12
  • Answer
  • June 27, 2017

Hello Yvette,

I added a panel and gave it a custom class customPanel.

In css I added

fieldset.customPanel legend
{
  font-weight: bold;
}

This made only the legend (title) bold. Is that what you need?

Best regards

Enrico


Forum|alt.badge.img+7
  • Author
  • June 27, 2017

Yes! That is exactly what I was looking for. Thank you!!


Forum|alt.badge.img+12
  • June 27, 2017

You're welcome, glad I could help


Forum|alt.badge.img+6
  • Apprentice
  • September 13, 2022

Thank You for this solution. I was able to use it today on my form.