reduce font size of the dataTable

Locked
joao_arthur
Posts: 38
Joined: 09 Mar 2015, 15:40

31 Mar 2016, 17:20

necessary to reduce the size of the theme font, more precisely the dataTable, how I do?

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

01 Apr 2016, 08:52

You need to override datatable's css. I think you can try the following css code;

Code: Select all

<style type="text/css">
   .ui-datatable,
   .ui-datatable .ui-datatable-tablewrapper table {
        font-size: 12px !important;
   }
            
   /* For Paginator */
   .ui-datatable .ui-paginator .ui-paginator-first, 
   .ui-datatable .ui-paginator .ui-paginator-prev, 
   .ui-datatable .ui-paginator .ui-paginator-pages .ui-paginator-page, 
   .ui-datatable .ui-paginator .ui-paginator-next, 
   .ui-datatable .ui-paginator .ui-paginator-last, 
   .ui-datatable .ui-paginator .ui-paginator-rpp-options {
        font-size: 10px !important;
   }
            
   .ui-datatable .ui-paginator .ui-paginator-current {
       font-size: 10px !important;
   }
</style>

joao_arthur
Posts: 38
Joined: 09 Mar 2015, 15:40

25 Aug 2016, 17:53

thank you, it worked perfectly, now I need to reduce the font size of the entire theme, you can?

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

29 Aug 2016, 08:40

You're welcome! If you want to make change on font-size value of all components, you need to change the font-size of them one by one in theme.css. Unfortunately, we didn't use scss or less feature on sentinel,spark and ronin layouts.

Locked

Return to “Sentinel”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 5 guests