• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Change website font to google Michroma...
PostPosted: Tue Jan 10, 2017 10:31 am 
Offline
Power Poster
Power Poster
User avatar

Joined: Fri Apr 20, 2007 7:26 pm
Posts: 377
Location: Ruhrstadt
Hi all.

I want to change the font of a website to Michroma (https://fonts.google.com/specimen/Michroma)
Therfore i placed into the template:

Code:
 ...
<link href="https://fonts.googleapis.com/css?family=Michroma" rel="stylesheet" type="text/css">
...


and into the stylesheet:

Code:
...
body {
  width: 100%;
  height: 100%;
/*  font-family: Merriweather,'Helvetica Neue',Arial,sans-serif; */
    font-family: "Michroma", sans-serif;
...


Nothing changes in the font design in the front end.

Thx 4 a tip how 2.

MAP


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Change website font to google Michroma...
PostPosted: Tue Jan 10, 2017 1:44 pm 
Offline
Forum Members
Forum Members

Joined: Thu Aug 12, 2010 2:27 pm
Posts: 71
Not sure why this is happening, it's been a while since I used Google Fonts.

You can try single quotation marks (font-family: 'Michroma', sans-serif;)

Also make sure that the font isn't changed for any elements further down the CSS. It's pointless declaring a font-family for the 'body' when you go changing this in other tage like 'p' 'a' etc.

Hope you get it sorted!
Ed


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Change website font to google Michroma...
PostPosted: Tue Jan 10, 2017 3:48 pm 
Offline
Forum Members
Forum Members
User avatar

Joined: Fri Dec 09, 2005 12:36 pm
Posts: 231
Location: Marlow, UK
Are you able to post a link to the site so we can take a look to see what's happening?


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Change website font to google Michroma...
PostPosted: Fri Feb 03, 2017 5:41 pm 
Offline
Power Poster
Power Poster
User avatar

Joined: Fri Apr 20, 2007 7:26 pm
Posts: 377
Location: Ruhrstadt
scooper wrote:
Are you able to post a link to the site so we can take a look to see what's happening?


Thankx for answering. There is the site:
http://dev.papageienpark-bochum.de

I tried any kind of ' and " - no change in used font at all.

Thx for checking for reason.

Yours

MAP


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Change website font to google Michroma...
PostPosted: Fri Feb 03, 2017 7:04 pm 
Offline
Forum Members
Forum Members
User avatar

Joined: Fri Dec 09, 2005 12:36 pm
Posts: 231
Location: Marlow, UK
In the HEAD of your page template you have the links to the Google font wrapped in some NOSCRIPT tags. Because most browsers have Javascript enabled then they won't bother with the tags in there.

If you disable Javascript in you browser then the font appears :-)

You'll just need to check your template and make sure the Google font links are outside your noscript tags.

Hope that helps.

s.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Change website font to google Michroma...
PostPosted: Sat Feb 04, 2017 9:59 am 
Offline
Power Poster
Power Poster
User avatar

Joined: Fri Apr 20, 2007 7:26 pm
Posts: 377
Location: Ruhrstadt
scooper wrote:
In the HEAD of your page template you have the links to the Google font wrapped in some NOSCRIPT tags. Because most browsers have Javascript enabled then they won't bother with the tags in there.

If you disable Javascript in you browser then the font appears :-)

You'll just need to check your template and make sure the Google font links are outside your noscript tags.

Hope that helps.

s.


Thank you - yes - now it works fine!!

MAP


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: [solved] Re: Change website font to google Michroma...
PostPosted: Sat Feb 04, 2017 12:37 pm 
Offline
Power Poster
Power Poster
User avatar

Joined: Fri Apr 20, 2007 7:26 pm
Posts: 377
Location: Ruhrstadt
I just want to state that this forum is very active and more than helpful in many many cases. Lots of thanks to all te capable people in here...

MAP


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
A2 Hosting