How can we change font size of the titles of the fields (contacts module) in Sugar 7?

Is it possible?

  • Hi Nick,

    You can customise handlebar files of Contacts by duplicating from

    /clients/base/views/record/headerpane.hbs

    to

    /custom/modules/Contacts/clients/base/views/record/headerpane.hbs

    Then you can add your styles in to this file. 

    Such as;

    <span class="index{{index}}" data-fieldname="{{name}}" data-index="{{index}}">
       {{field ../../../../view model=../../../../view.model template=../../../../view.action}}
    </span>

    If you find this block you can add your styles, that would reflect to contact names.

    Like;

    <span class="index{{index}}" style="font-size:18px;" data-fieldname="{{name}}" data-index="{{index}}">
    {{field ../../../../view model=../../../../view.model template=../../../../view.action}}
    </span>

    Hope this helps. 

    Best Regards
    Tevfik Tümer
    Developer Support Engineer

  • Hi Nick,

    After posting my answer noticed that you are asking field specific. You can do this by adding custom CSS styles. 

    You can create your less file into:/custom/themes/custom.less

    Then add following CSS; 

    .record-label {
         font-size: 14px !important;
    }

    This would change your label sizes. 

    More information: http://yourinstance/#Styleguide/docs/base-theme

     

    Sorry for confusion in the previous answer

    Best Regards
    Tevfik Tümer
    Developer Support Engineer