Viser opslag med etiketten DIY. Vis alle opslag
Viser opslag med etiketten DIY. Vis alle opslag

8. januar 2015

DIY #2: Implement your own font on your blog

din personlige skrifttype, håndskrift, blogger, css, html, font, diy, guide

In addition to yesterdays topic on how to make your own font, I've now made a guide for you on how to use your new font on your blog. It's of course also possible to use other custom fonts on your blog. It's the same approach with all fonts that aren't pre installed or Google fonts.



If you want to implement your own font on your blog or homepage it's really easy and fast and I'll show you how to do it. I don't know if it's the same method in WordPress but I'm sure you'll be able to find a specific guide for that purpose. We're going to do some simple coding but I promise you it's level 1 HTML and CSS coding.

din personlige skrifttype, håndskrift, blogger, css, html, nemt, font, diy, guide din personlige skrifttype, håndskrift, blogger, css, html, nemt, font, diy, guide

  1. Upload your new font (the TFF file) on a hosting site. I'm using Google Drive. It's not possible to use image hosting sites like Photobuck and Picassa it has to be a hosting site like Google Drive and Dropbox. 

  2. Make sure your folder in which you're uploading your file is public. Otherwise it's not possible for Blogger (or WordPress) to access the file.  

  3. Login to Blogger. Go to Template >> Edit HTML

  4. You'll now have to copy and paste a link with your font into the template's stylesheet. The link goes right before ]]></b:skin> Use [Ctrl] + F to search for the phrase. 

  5. The link look as follow: @font-face { font-family: THE NAME OF YOUR FONT; src: url("URL OF YOUR FONT");}

  6. You'll then have to replace the lines in red with the matching references. And the name of your font is the name without the file format at the end (TFF). 

  7. When your using Google Drive your URL looks like this: http://www.googledrive.com/host/FOLDER NAME/FILE NAME 

  8. Replace the folder name with the ID of the folder containing the font. My folder is named "Offentligt indhold" and the ID of the folder is 0B7R7E6lf20iJRkt6QkZCckdjSH. My file is named "MyScriptFont.tff" - My URL looks like this  http://www.googledrive.com/host/0B7R7E6lf20iJRkt6QkZCckdjSHM/MyScriptFont.ttf

  9. My entire link looks like this: @font-face { font-family: MyScriptFont; src: url("http://www.googledrive.com/host/0B7R7E6lf20iJRkt6QkZCckdjSHM/MyScriptFont.ttf"); }

  10. Make sure the content before your link is closed and by close I mean make sure it has a } at the end. Just like the link you've just made.  

  11. Choose "Save template" And you're now ready to use your new font.
And how to use your new font? Well it depends on the intention. If you want to use it in a post just copy and paste the HTML code below into your post. Remember to select "HTML" instead of "Compose" before pasting in the code. Afterwards you can select "Compose" again.

<span style="font-family: NAME OF YOUR FONT; font-size: SIZE OF YOUR FONT;color:CHOOSE A COLOR">YOUR TEXT HERE</span> 

Replace the reds with your own values. My code looks like this:

<span style="font-family: MyScriptFont; font-size: 50px; color: pink; ">SO EASY GIVE IT A TRY</span> 

If you just want to use the standard color on your font you can just delete the color part from the code. The same goes for "font-size". You can use color codes if you want to. The color code for red is #FF0000 and you can find some more color codes here.

SO EASY GIVE IT A TRY

If you want to use your font on other parts of your blog you'll have to go back to your stylesheet again. The general code for grabbing your font is this: font-family: 'THE NAME OF YOUR FONT'; If you want to change the font of the headline of your posts you'll have to overwrite the current rule and it looks likes this .post-title {font-family: 'THE NAME OF YOUR FONT'!important; } It goes at the bottom of your stylesheet, just after the link to your font which we made earlier. I've added "!important" to the code because Blogger already has a rule on how to change the font of the headline of your posts. And in order to overrule it we have to use the "!important" tag, but it's rarely necessary. Afterward select "Preview template" and if you're satisfied select "Save template".

Et voilá - You now have your own font on your blog. Easy peasy!

If you have any questions feel free to ask. Also if you need me to elaborate some parts of the guide. Otherwise I hope you found it useful. I think it's nice that you're able to use other fonts than the ones Blogger has chosen for you. My favorite font at the moment is "News Cicle".


LÆS DET HELE
//GIMME MORE

5. januar 2015

DIY #1: Your handwriting as a font

Guide, font, Personlig skrifttype, håndskrift, diy, blogger, word, photoshop

Er du også lidt træt af standard fonts som "Arial", "Times New Roman", "Impact" og hvad de ellers hedder? I så fald får du her en guide til, hvordan du kan lave din egen håndskrift om til en skrifttype i Word, Photoshop og andre programmer! Og jeg guider dig også til, hvordan du bruger den i et HTML-dokument (Blogger-style).

Du skal bruge følgende:

En Printer
En scanner
En filtpen - medium tykkelse
Og så selvfølgelig en internetforbindelse


Guide, font, Personlig skrifttype, håndskrift, diy, blogger, word, photoshop Guide, font, Personlig skrifttype, håndskrift, diy, blogger, word, photoshop
Guide, font, Personlig skrifttype, håndskrift, diy, blogger, word, photoshop Guide, font, Personlig skrifttype, håndskrift, diy, blogger, word, photoshop


Har du ikke en printer og en scanner? - Læs om et alternativ længere nede ...
  1. Udskriv dette dokument
  2. Udfyld det, som anvist
  3. Scan det ind på din computer, som anvist. (Gem det som JPEG eller PNG-fil)
  4. Upload det udfyldte dokument på denne hjemmeside (Vælg formatet TTF) 
  5. Giv din skrifttype et sjovt navn
  6. Download din nye skrifttype. Resultatet du får vist på siden, er ikke korrekt, så hent altid filen, og tjek selv resultatet. 
  7. Åbn din nye skrifttype på computeren, du ser nu et eksempel på den. Installer den, hvis du er tilfreds med resultatet.
  8. Du har nu en helt personlig skrifttype, som blandt andet kan bruges i Word og Photoshop.   
Hvis du ikke har en printer og en scanner, eller hvis du bare er megasej, kan du udfylde dokumentet på din computer, hvor du så tegner bogstaverne med din mus. Jeg er ikke megasej, men jeg har alligevel lige gjort det for at vise jer et eksempel på, hvordan det gøres. Don't judge me! Det er lavet på 10 minutter, OG med min 'touchpad'  :-)

Guide, font, Personlig skrifttype, håndskrift, diy, blogger, word, photoshop
Tanja, 5 år!

Du skal konvertere PDF-filen til en JPEG-fil, for at tegne i den. Det kan gøres her,  og så kan du gå amok i Photoshop. Husk at brug en sort farve til at tegne med, og omkring 4-8 px på din blyant / brush. Du kan selvfølgelig også bruget et andet billedredigeringsprogram (puuh - et langt ord). Hvis du ikke har et på din computer, findes der mange online programmer; fx PIXLR 

Det var det! Hvis du har spørgsmål til, hvordan man gør, kan du stille dem i kommentarfelttet nederst på siden. Og hvis du gerne vil implementere din nye skrifttype på din hjemmeside eller blog, kommer der en guide til det i morgen. Det er slet ikke så svært, som du måske tror. Se bare her:

VI SES I MORGEN


LÆS DET HELE
//GIMME MORE