1. muddasirpk
  2. Commercial Templates
  3. Wednesday, 20 July 2016
  4.  Subscribe via email
http://www.hadimosque.com/

we are usging google translator to translate the site in ARABIC but we did not like the default ARABIC Font, so we want to use the google font

Droid Arabic Kufi (Arabic)

@import url(http://fonts.googleapis.com/earlyaccess/droidarabickufi.css);

font-family: 'Droid Arabic Kufi', sans-serif;


We had use the term "@import url(http://fonts.googleapis.com/earlyaccess/droidarabickufi.css);" in custom css so font will be imported now how to implement that font ,

Please note that we like the english font and want to keep same just want to change arabic font
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

To apply your font as the default font you can also add the following to Custom CSS field....


body {
font-family: 'Droid Arabic Kufi', sans-serif;
}



To override all other font settings (titles etc.) you can use the following instead...


body {
font-family: 'Droid Arabic Kufi', sans-serif !important;
}


Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
This is my css code now

.sidecol_block .module, .sidecol_block .module_menu {
margin-bottom: 10px;
}

@import url(http://fonts.googleapis.com/earlyaccess/droidarabickufi.css);

body {
font-family: 'Droid Arabic Kufi', sans-serif !important;
}


but still if you see our website http://www.hadimosque.com/ choose arabic from top flat/language, you can see the font is not "Droid Arabic Kufi" but still the old same one
  1. more than a month ago
  2. Commercial Templates
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

It appears the font is not importing for you. Have you considered using the method here to add your font to the template options... http://www.joomla51.com/forum/8-commercial-templates/3263-adding-new-google-fonts

Alternatively may I suggest sending temporary administration access to your Joomla installation to info@joomla51.com and we will examine this issue further. For our reference please paste a link to this post in your email.

Ciaran
  1. more than a month ago
  2. Commercial Templates
  3. # 3
Accepted Answer Pending Moderation
0
Votes
Undo
I tried to add font using the methond you said but still not work, already sended you email for admin access at your provided email
  1. more than a month ago
  2. Commercial Templates
  3. # 4
Accepted Answer Pending Moderation
0
Votes
Undo
Previously you solve that issue on email by saying to choose the arabic font from template parameter.

Now i updated the template and font is lost i mean "Droid Arabic Kufi" font now not appearing in template parameters? So how can i import google font in template parameter?
  1. more than a month ago
  2. Commercial Templates
  3. # 5
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

May I suggest the following forum post on adding additional fonts to your template parameters... http://www.joomla51.com/forum/8-commercial-templates/3263-adding-new-google-fonts

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 6
Accepted Answer Pending Moderation
0
Votes
Undo
I am using arabic fonts from https://arabicfont.org
how can I use them in my website ? what css code to use ? and will all readers be able to read them in all devices ?
  1. more than a month ago
  2. Commercial Templates
  3. # 7
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

Adding custom non Google fonts to your template is a little tricky. However it is possible :)

Firstly upload your font files to the ../templates/[YourTemplate]/fonts folder.

Then to actually import these files you can add the following to the Custom CSS field of your templates parameters..

@font-face {
font-family: 'YourFont';
src: url('../fonts/yourfont-webfont.eot');
src: url('../fonts/yourfont-webfont.eot') format('embedded-opentype'), url('../fonts/yourfont-webfont.woff2') format('woff2'), url('../fonts/yourfont-webfont.woff') format('woff'), url('../fonts/yourfont-webfont.ttf') format('truetype'), url('../fonts/yourfont-webfont.svg') format('svg');
font-weight: normal;
font-style: normal;
}


Once your fonts are loaded you must then assign the font to the HTML elements of your choice with something like the following (Custom CSS field)...

body {
font-family: YourFont;
}


Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 8
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!

Join Our Newsletter

* indicates required
We respect your privacy and do not tolerate spam and will never sell, rent, lease or give away your information (name, email, number, etc.) to any third party. Nor will we send you unsolicited email.
Joomla51 - Mullaghmore, Co. Sligo, Ireland
Joomla51.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by
Open Source Matters
the trademark holder in the United States and other countries.

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.

Ok