The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Google Web Fonts problem

View previous topic View next topic Go down

Google Web Fonts problem

Post by selfishpotatoe on September 21st 2012, 7:15 pm

I want to use two google fonts for my forum, one for headers and one for the whole forum, but I have no idea how to install these fonts properly. I have already create and install java script for them and also put fonts in body selection, but they still don't work. Should I change something in CSS?

selfishpotatoe
Forumember

Female Posts : 26
Reputation : 2
Language : Polish, English
Location : Cracow, Poland

Back to top Go down

Re: Google Web Fonts problem

Post by selfishpotatoe on September 24th 2012, 1:32 pm

bump!

selfishpotatoe
Forumember

Female Posts : 26
Reputation : 2
Language : Polish, English
Location : Cracow, Poland

Back to top Go down

Re: Google Web Fonts problem

Post by black-light on September 25th 2012, 2:33 am

I think for Google Fonts there's a CSS code you have to put in your forum's CSS (Display>Colors>CSS Stylesheets), though i'm not exactly sure.

black-light
Forumember

Posts : 33
Reputation : 1
Language : HTML, CSS, PHP, Javascript, C++

http://wishbone.motionsforum.com/

Back to top Go down

Re: Google Web Fonts problem

Post by selfishpotatoe on September 25th 2012, 1:29 pm

I've already got sth like this:

body {
margin: 0 auto;
background-color: #0C0C0C;
background-image: url('http://img');
background-attachment: fixed;
background-repeat: y;
color: #666666;
font-family: 'Josefin Sans', century gothic, Arial, verdana;
font-size: 11px;
line-height: 150%;
}

and

WebFontConfig = {
google: {
families: [ 'Josefin Sans', 'Lato' ]
}
};

@import url(http://fonts.googleapis.com/css?family=Josefin+Sans); @import url(http://fonts.googleapis.com/css?family=Lato);

It doesn't work.

selfishpotatoe
Forumember

Female Posts : 26
Reputation : 2
Language : Polish, English
Location : Cracow, Poland

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum