I have a div and in this div I want to display some text in Calibri (Body) font.
How can I do this?
This is the css I have been given :
.an_account_join_1 { float:left; width:100%; color:#000000; font-family:Calibri (Body); letter-spacing:2px; font-size:14px; text-align:center; margin:20px 0px; }
This is the div:
<div class="an_account_join_1">Individual Free Membership</div>
There is no font style displayed with this font family.
When I look at the firebug output there is no style for font family.
Open a new slide and add a new textbox. Then, set the textbox font to Calibri (Body) Then, add a new textbox and set the font to regular Calibri. Now, go to Design -> open small popup under Variants section and click Fonts option, then click Customize Fonts to set a new font family.
"Calibri (Body)" means that Calibri is specified for the document theme which is currently applied to your document. If you scroll through the list of fonts, you should be able to locate "Calibri" (without "(Body)"). Note that you can change the default font in the Font dialog box (Ctrl+D).
In Word, the Body font just displays a little darker and Calibri Light (Heading) font appears a little lighter, as its name implies. That is the only difference.
css file in root/templates/gk_template_name/css directory : Code: Select all. body { font-family: Calibri, Candara, Segoe, "Segoe UI", Optima, Arial, sans-serif;} and then just remember to enable "Use override CSS" option in template advanced settings tab.
There is no such font as “Calibri (Body)”. You probably saw this string in Microsoft Word font selection menu, but it’s not a font name (see e.g. the explanation Font: +body (in W07)).
So use just font-family: Calibri
or, better, font-family: Calibri, sans-serif
. (There is no adequate backup font for Calibri, but the odds are that when Calibri is not available, the browser’s default sans-serif font suits your design better than the browser’s default font, which is most often a serif font.)
change the font type for div use
.an_account_join_1{ font-family:"Calibri, sans-serif"; }
for the main menu in WordPress
#primary-menu{ font-family:"Calibri, sans-serif"; }
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With