Supporting image alignment in your WordPress theme
If you are making a WordPress theme you owe it to the user of your theme to make sure image alignment works as expected. Most of the Visual Editor formatting buttons use inline CSS which won’t be affected by the theme but this is not the case with the alignment buttons in pages/posts when applied […]
Halo ODST
XBox360,FPS,4/10 – Sep 2009 I loved the TV series called “Firefly” and always thought it’d make a good computer game, so it seems Christmas had come early – Mal (Nathan Fillion), the Firefly captain is in the latest Halo game together with Jane (Adam Baldwin), and Wash (Alan Tudyk). I found the trailer REALLY exciting: […]
Using the Purisa Light font on a Website
If you want to use the “Purisa Light” font on your Linux hosted website, you can follow the following steps: Copy the font file from your desktop machine to your webserver. On Ubuntu the “Purisa Light” font file is located at /usr/share/fonts/truetype/thai/Purisa.ttf. e.g: scp /usr/share/fonts/truetype/thai/Purisa.ttf <username>@<webhost>:/<pathToWebsite>/fonts/Purisa.ttf Add the font face to your stylesheet: Now you […]
Show more than 10 items in a Amazon Carousel
What is a “Amazon Carousel”? It is a advert showing a bunch of items you can buy on Amazon: Amazon.co.uk Widgets Amazon put a limit on the number of items in a carousel. However, if you have more than 10 items, you can use a little javascript to select 10 at random so a different […]