• Hi,
    I m looking for have 2 icons namely franchise and hancock on a website. But i don’t know how to use dynamic font.Can anyone help me on how to use it

Viewing 15 replies - 1 through 15 (of 24 total)
  • Are you trying to add icons or a different font?

    Thread Starter emaarkhan

    (@emaarkhan)

    trying to use it on #access selector and another one on title. i want to use font.

    Maybe you can try my plugin “Font” it will definitely let you change font for “#access” or any other selector and it works visually so no coding here.
    http://wordpress.org/extend/plugins/font/

    You should be able to do this via your theme’s stylesheet.

    Thread Starter emaarkhan

    (@emaarkhan)

    How? that font isn’t normal arial or tahoma, its a choice of font.so it would be dynamically.shouldn’t it be?

    What do you mean by “its a choice of font”?

    Thread Starter emaarkhan

    (@emaarkhan)

    The font name is franchise and hancock. Not everyone have it, its selective font. I want to use it using webkit or typekit, but in typekit both of them aren’t available so i m left with webkit. so can you tell me how to

    I’d suggest you start by reviewing the CSS font-family rule.

    Thread Starter emaarkhan

    (@emaarkhan)

    That is css2 right? and in css2. the given fonts are used from user pc if available, otherwise it falls back to other mentioned font. But what if the font isn’t on system.

    You should always end the font-family list with a generic font-family such as sans-serif.

    Thread Starter emaarkhan

    (@emaarkhan)

    i can use @font-face bt where to put the font n how to use it in #access selector.example wuld help.thnx

    Thread Starter emaarkhan

    (@emaarkhan)

    esmi i looked and it helped a lot. thanks but now the font get into its real font. i think i might have mistake in my trailing slashes. Please help me out here

    @font-face {
        font-family: 'franchiseregular';
        src: url('../franchise-bold-webfont.eot');
        src: url('../franchise-bold-webfont.eot?#iefix') format('embedded-opentype'),
             url('../franchise-bold-webfont.woff') format('woff'),
             url('../franchise-bold-webfont.ttf') format('truetype'),
             url('../franchise-bold-webfont.svg#franchiseregular') format('svg');
        font-weight: normal;
        font-style: normal;
    
    }

    and the fonts are in a folder in theme folder that i have e.g /themes/nf/font
    am i doing something wrong?

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Try using a more specific URL to each font, starting from the root directory of your WordPress application.
    E.g

    /wp-content/themes/yourTHeme/yourDirectoryToTheFont/franchise-bold-webfont.eot

    Thread Starter emaarkhan

    (@emaarkhan)

    Its nt helping πŸ™

Viewing 15 replies - 1 through 15 (of 24 total)

The topic ‘webkit font or dynamic font?’ is closed to new replies.