[rt-users] Fwd: Custom field name font size

Matt Zagrabelny mzagrabe at d.umn.edu
Fri Jul 24 11:09:56 EDT 2015


[bringing this thread back to rt-users]

On Thu, Jul 23, 2015 at 6:08 PM, Phil McLachlan <PhilM at norfield.com> wrote:
> Thanks for your reply Matt :).
>
> I have no programming experience (disclaimer) but am willing to jump in head first.  I setup 4.2 on a headless Ubuntu Server.  The change would be universal to all the custom fields so I don't think I would need to deal with ID's.  The font size for the custom field titles is extremely small and would just like it to be bigger.

Here are a couple snippets from a Ticket/Create.html rendered page:

 <tr class="edit-custom-field cftype-Select">
    <td class="cflabel">

  <tr class="edit-custom-field cftype-Freeform">
    <td class="cflabel">

You can see the table cell with class "cflabel".

> Are the files in the /Elements folder what control this stuff, or are you referring to Perl modules in Apache?

It does look like the EditCustomField mason components are in
share/html/Elements. I would stay away from there and stick to CSS
only.

I was referring to a perl module. It's not exactly in Apache. I don't
know if there are (good?) online docs for how to create an RT module.

You can avoid the site specific RT module and just make changes to your theme.

/Admin/Tools/Theme.html

Perhaps a CSS snippet like:

td.cflabel {
    font-size: 150%;
}

You may need to make the selector more specific so that the font-size
gets applied, but that is all CSS-foo.

-m



More information about the rt-users mailing list