Skip to main content
Question

Changing typeface, font size and button size in custom content boxes

  • February 21, 2025
  • 1 reply
  • 54 views

The custom content box is a much used widget on our site. However, there is no direct control over the typeface to use nor the size of the text in the content title and subtitle fields. In addition, we would like to be able to control the size of the buttons and button text. I suspect this can be done with CSS, but I have no idea how to do it. Anyone know?

1 reply

  • Novice I
  • August 8, 2025

The following CSS will allow you to customize the size of the title and subtitle, it applies site wide, so it will affect all your custom content boxes.

 

/* Modify font size for title on custom content box */

.title.ng-star-inserted[_ngcontent-ng-c3486568285] {

  font-size: 36px;

}

/* Modify font size for sub title on custom content box */

.subtitle.ng-star-inserted[_ngcontent-ng-c3486568285] {

  font-size: 18px;

}