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.

importing google fonts to CSS

Go down

Solved importing google fonts to CSS

Post by hey mickey. on April 13th 2013, 4:42 pm

here am i once again with a small problem..
i'd like to ask how to import a font from google web fonts to CSS with it actually working? i mean, i do know how to import them, but somehow the CSS part doesn't seem to work.. i'm guessing it's this: font-family: 'font name', cursive; like the cursive part? it just doesn't work when i try it..


Last edited by hey mickey. on April 13th 2013, 6:44 pm; edited 1 time in total
avatar
hey mickey.
Forumember

Female Posts : 107
Reputation : 1
Language : english, slovenian
Location : slovenia

Back to top Go down

Solved Re: importing google fonts to CSS

Post by Sanket on April 13th 2013, 5:02 pm

avatar
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2828
Language : English
Location : Mumbai

http://webartzforum.com

Back to top Go down

Solved Re: importing google fonts to CSS

Post by hey mickey. on April 13th 2013, 5:12 pm

wow okay that is confusing me haha i usually know what to do with codes but JS confuses me sometimes..
see i just want to know if there's a way to use a font that has cursive at the end without actually using the cursive part? cuz if i try that the font doesn't work, but it doesn't work if the cursive is there too.. and i know this might be confusing, but yeah, any ideas?
avatar
hey mickey.
Forumember

Female Posts : 107
Reputation : 1
Language : english, slovenian
Location : slovenia

Back to top Go down

Solved Re: importing google fonts to CSS

Post by Sanket on April 13th 2013, 6:01 pm

I am not sure, can you provide me the source from where you are trying to install this css?
avatar
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2828
Language : English
Location : Mumbai

http://webartzforum.com

Back to top Go down

Solved Re: importing google fonts to CSS

Post by hey mickey. on April 13th 2013, 6:09 pm

for now i have tried this one: http://www.google.com/fonts/#QuickUsePlace:quickUse/Family:

edit*
ah scratch that, it doesn't work like that. if you go to http://www.google.com/fonts/# and search for Offside that's the one
avatar
hey mickey.
Forumember

Female Posts : 107
Reputation : 1
Language : english, slovenian
Location : slovenia

Back to top Go down

Solved Re: importing google fonts to CSS

Post by E-Mark on April 13th 2013, 6:30 pm

Could you try this one?
Go to ACP > Display > Templates > General > overall_header:

Find this part:
Code:
</head>

Now add this above it:
Code:
<link href='http://fonts.googleapis.com/css?family=Offside' rel='stylesheet' type='text/css'>

Now go to CSS, and add this:
Code:
body {
font-family: 'Offside', cursive;
}
avatar
E-Mark
Active Poster

Male Posts : 1389
Reputation : 164
Language : English, Tagalog
Location : Republic of the Philippines

http://coding-spot.darkbb.com/

Back to top Go down

Solved Re: importing google fonts to CSS

Post by hey mickey. on April 13th 2013, 6:36 pm

okay thank you, that could probably work, but if i want this font family just for the category name, where should i put it?
avatar
hey mickey.
Forumember

Female Posts : 107
Reputation : 1
Language : english, slovenian
Location : slovenia

Back to top Go down

Solved Re: importing google fonts to CSS

Post by E-Mark on April 13th 2013, 6:40 pm

Add this to your CSS:
Code:
.secondarytitle h2 {
font-family: 'Offside', cursive;
}
avatar
E-Mark
Active Poster

Male Posts : 1389
Reputation : 164
Language : English, Tagalog
Location : Republic of the Philippines

http://coding-spot.darkbb.com/

Back to top Go down

Solved Re: importing google fonts to CSS

Post by hey mickey. on April 13th 2013, 6:43 pm

oh my god it works, thank you so much really Very Happy
avatar
hey mickey.
Forumember

Female Posts : 107
Reputation : 1
Language : english, slovenian
Location : slovenia

Back to top Go down

Solved Re: importing google fonts to CSS

Post by Sanket on April 13th 2013, 6:48 pm

Topic Solved & Locked
avatar
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2828
Language : English
Location : Mumbai

http://webartzforum.com

Back to top Go down

Back to top


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