Solved

Panel formatting: Title text in font weight bold

  • 27 June 2017
  • 4 replies
  • 87 views

Badge +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?

icon

Best answer by praios81 27 June 2017, 15:08

View original

4 replies

Userlevel 4
Badge +12

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

Badge +7

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

Userlevel 4
Badge +12

You're welcome, glad I could help

Userlevel 1
Badge +6

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

Reply