MyBB Community Forums

Full Version: Linking Fonts in the CSS & a easier way to link to images
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I want to know how I can link fonts in my CSS file? Also I'd like to know is there a easier way to link to images in CSS instead of:
src(images/RootToImage/) ;
.

I want to know how to do this because I'm in the process of making my forum mobile friendly.
If you take Google fonts as example,

@import url(https://fonts.googleapis.com/css?family=Open+Sans);

.body {
font-family: 'Open Sans', sans-serif;
}

as for images you could use

background-image: url(http://imageurl.com);
Is there like no {img_dir} or {theme_images} something along those lines?