Jump to content
pcgameslab

Is there any way to change the font in all pages from homepage ?

Recommended Posts

With the previous template of my blog,I created various pages with the font Sniglet.And now after changing the template,main font of my blog is Oswald.So is there anyway in javascript,css,html5 or in xml through which I can add a piece of code in the homepage of my blog and all the Sniglet fonts would get replaced with oswald

Share this post


Link to post
Share on other sites

I added this already,but I added the sniglet font in a lot of pages,and changing it in all pages is really hard,so is there any javascript adding which to the homepage,all the fonts in pages would change.

Share this post


Link to post
Share on other sites

but all you do is add a link to this stylesheet at top between <head></head> or add it to existing stylesheet ,and it would override the old font. simplesssss

Share this post


Link to post
Share on other sites

Well if we are talking about http://technopcarea.blogspot.com/ (which does have specific class selectors to apply this font), this is what happens when you add inline styling (and js/jquey) to <head></head> of each page, instead of adding to external css document and linking to it, you repeat duplication of same code within each page, increase size of page for download, make it difficult to control changes efficiently, sorry, but i guess 'you made your bed, now lay in it'.

 

in one page its only till you get to line 2739 that the body and actual child html coding begins, there again MORE css (which should not be in body AT ALL), js/jquery is included still, this is really really bad.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...