The following warnings occurred:
Warning [2] Undefined array key "threadviews_countguests" - Line: 745 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php 745 errorHandler->error_callback
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 916 build_postbit
Warning [2] Undefined property: MyLanguage::$thread_modes - Line: 46 - File: showthread.php(1650) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php(1650) : eval()'d code 46 errorHandler->error_callback
/showthread.php 1650 eval




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Properly link font-face in theme css
#1
hi,

I've got a question about using font-face in a theme's css. On Bahia Arabians, I'm trying to implement some font-face. But it doesn't seem to work. Undecided

Is it even possible to add some font-face to the CMS? I've used this code:
Code:
@font-face {
    font-family: book_antiquaregular;
    src: url(../fonts/566-webfont.eot);
    src: url(../fonts/566-webfont.eot?#iefix) format(embedded-opentype),
         url(../fonts/566-webfont.woff) format(woff),
         url(../fonts/566-webfont.ttf) format(truetype),
         url(../fonts/566-webfont.svg#book_antiquaregular) format(svg);
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: book_antiquabold;
    src: url(../fonts/567-webfont.eot);
    src: url(../fonts/567-webfont.eot?#iefix) format(embedded-opentype),
         url(../fonts/567-webfont.woff) format(woff),
         url(../fonts/567-webfont.ttf) format(truetype),
         url(../fonts/567-webfont.svg#book_antiquabold) format(svg);
    font-weight: normal;
    font-style: normal;

}

to call upon the font-face. The fonts are located in: theme >> minimalism >> fonts

The reason why I used this path, is because the CSS is also getting images out of: theme >> minimalism >> images, so I thought this would work to.

Thanks in advance! Big Grin
Reply


Messages In This Thread
Properly link font-face in theme css - by Vlinder Design - 2013-05-27, 22:46:10



Users browsing this thread: 1 Guest(s)