Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • daveburstein Friend
    #197643

    I’m having trouble installing a truetype font, converted as you suggest in Fontsquirrel and put them in a folder “Dolce” in fonts. (Directory below). I suspect I have a naming or syntax error but I don’t see it.

    I added a line in assets.xml

    <stylesheets>
    <file>fonts/font-awesome/css/font-awesome.min.css</file>
    <file>http://fonts.googleapis.com/css?family=Raleway:400,700,600,500,300</file&gt;
    <file>http://fonts.googleapis.com/css?family=Marcellus:400></file&gt;
    <file>http://fonts.googleapis.com/css?family=Lato:300,400,700></file&gt;
    <file>/fonts/Dolce/stylesheet.css</file>
    </stylesheets>

    And in custom css tried

    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    .h1,
    .h2,
    .h3,
    .h4,
    .h5,
    .h6 {
    color: inherit;
    font-family: ‘Dolce’, sans;
    line-height: 1.1;
    } (and also tried ‘dolce_vita-webfont’)

    Help very much appreciated

    “C:zjtoolsfontsDolcedolce_vita-demo.html”
    “C:zjtoolsfontsDolcedolce_vita-webfont.eot”
    “C:zjtoolsfontsDolcedolce_vita-webfont.svg”
    “C:zjtoolsfontsDolcedolce_vita-webfont.ttf”
    “C:zjtoolsfontsDolcedolce_vita-webfont.woff”
    “C:zjtoolsfontsDolcegenerator_config.txt”
    “C:zjtoolsfontsDolcestylesheet.css”
    “C:zjtoolsfontsDolcespecimen_files”
    “C:zjtoolsfontsDolcedolce_vita_heavy_bold-demo.html”
    “C:zjtoolsfontsDolcedolce_vita_heavy_bold-webfont.eot”
    “C:zjtoolsfontsDolcedolce_vita_heavy_bold-webfont.svg”
    “C:zjtoolsfontsDolcedolce_vita_heavy_bold-webfont.ttf”
    “C:zjtoolsfontsDolcedolce_vita_heavy_bold-webfont.woff”
    “C:zjtoolsfontsDolcedolce_vita_light-demo.html”
    “C:zjtoolsfontsDolcedolce_vita_light-webfont.eot”
    “C:zjtoolsfontsDolcedolce_vita_light-webfont.svg”
    “C:zjtoolsfontsDolcedolce_vita_light-webfont.ttf”
    “C:zjtoolsfontsDolcedolce_vita_light-webfont.woff”

    TomC Moderator
    #534668

    Not 100% sure if this method will solve your issue . . . .
    but have you looked into using @FontFace for Alternative Fonts ??

Viewing 2 posts - 1 through 2 (of 2 total)

This topic contains 2 replies, has 2 voices, and was last updated by  TomC 10 years, 5 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum