reduce font size of the dataTable
-
- Posts: 38
- Joined: 09 Mar 2015, 15:40
necessary to reduce the size of the theme font, more precisely the dataTable, how I do?
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
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>
Github Profile: https://github.com/mertsincan
-
- Posts: 38
- Joined: 09 Mar 2015, 15:40
thank you, it worked perfectly, now I need to reduce the font size of the entire theme, you can?
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
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.
Github Profile: https://github.com/mertsincan
-
- Information
-
Who is online
Users browsing this forum: No registered users and 5 guests