How to remove the headline field numbers?

Hi Kirby support team,

Is there an option in the blueprint to remove the headline field numbers? Or I have to use a custom stylesheet for the panel?

Yes, via a custom stylesheet, there is no blueprint option.

Ok, thanks


There will be an option for this in the next release as I was working on the headline field anyway.

:thumbsup:


Meanwhile, if somebody is interested, this is how I did it:

  • Create a new stylesheet in assets/css/panel.css and include these styles:
.field-with-headline .hgroup:before {
    content: none;
}

.field-with-headline .hgroup span {
    padding-left: 0;
}
  • Add this line to site/config.php to link the stylesheet:
c::set('panel.stylesheet', 'assets/css/panel.css');
1 Like