Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 23/11/2024 Black Friday 2024

    BIG SALE, 30% discount for all our extensions. Use BF24 coupon code. Hurry up the discount is valid till 3 December.

  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

Use custom font
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Use custom font
#31024
Use custom font 12 Years, 3 Months ago Karma: 2
I have my own font in TTF format.

I'd like to use it.

What place would I add an @font-face with this TTF name to have the data in the table show up in my font?
The administrator has disabled public write access.
 
#31031
Re:Use custom font 12 Years, 3 Months ago Karma: 760
Hello,

You can add appropriate CSS rule to "CSS Styles" parameter in module settings. It will look like:

Code:


@font-face {font-family: FONTNAME;src: url('LINK_TO_FONTFILE');}

{$id} TR TD,
{$id} TR TH {
  font-family: FONTNAME;
}



Where FONTNAME is a font name. LINK_TO_FONTFILE is a link to a font file.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#31034
Re:Use custom font 12 Years, 3 Months ago Karma: 2
Thank you.


I mistakenly thought I would have had to alter a CSS file in the mod_aridatatables directory.
The administrator has disabled public write access.
 
Go to topPage: 1