Can i use other bengali font? - Printable Version +- MyBB Community Forums (https://community.mybb.com) +-- Forum: Extensions (https://community.mybb.com/forum-201.html) +--- Forum: Translations (https://community.mybb.com/forum-163.html) +---- Forum: Translation Discussion and Development (https://community.mybb.com/forum-21.html) +---- Thread: Can i use other bengali font? (/thread-235724.html) |
Can i use other bengali font? - tbahsan - 2022-05-23 I am not sure is it the right Board to post this topic. If not, FORGIVE me. I am using mybb with Bengali Translation, But i'm not happy with the default font. Is it possible to change the whole font family? RE: Can i use other bengali font? - [ExiTuS] - 2022-05-24 You can embed external font file(s) to your website using the following CSS: (There is no need to cover all obsolete definitions or legacy browsers)Then use this font as usual: Inline: <... style="font-family: MyFont"> CSS: .my_font { font-family: MyFont; } [ETS] RE: Can i use other bengali font? - ThistleProse - 2022-05-24 That seems involved. Unless I'm misunderstanding, you should be able to just go to Themes - [Your Theme] - global.css
Do CTRL+F to find other instances of 'font-family' in the global.css and make changes to them, too. You can also use google-font, if you want. Eg, google Font CSS would look similar to this:
You will need to add the embed to the templates/[Your Theme]/Ungrouped Templates/headerinclide - for the example fonts above, they would look like this:
This calls forth the font if you don't use "default" style fonts like verdana or arial etc. Google provides the CSS and <link> code once you've selected your chosen google font(s) as seen in the attached image. ETA: this is the link to Google Font's Bengali selection: Link RE: Can i use other bengali font? - tbahsan - 2022-05-24 Thanks! It's Working. |