Fonts.com - web fonts - help!!

Permalink 1 user found helpful
I have implemented the webfont Mistral from fonts.com in my concrete5 site. I have allocated this against the h2 element in fonts.com and put the code generated into the theme header.php.

I want the Mistral web font only to be for the content blocks I select my text in the editor and give it the h2 attribute. Everything works fine except that every h2 in my site is now displaying in Mistral, not just in the content blocks!

What’s the best way of doing this? I’m a newbie at this so sorry if this is dumb question . . .

 
SuperNova replied on at Permalink Reply
SuperNova
give to every (content) block a class (design/css->classnames): f.e. 'mistral'.
put in your main.css:
.mistral h2 {}


So all h2 in every block marked with the class 'mistral' get the '.mistral h2'-declaration.
Sunburstb0y replied on at Permalink Reply
Hi - I did eventually figure this out (it came to me in the shower this morning)although I was not sure exactly how to implement it in Concrete5.

Thank you very much for your clear and concise explanation. Very much appreciated. . .