Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Nevermake

macrumors member
Original poster
Feb 24, 2011
33
1
Hey everyone

I've been experimenting with a Lockscreen I downloaded recently (my thanks to Schn3d1), but my html knowledge is pretty small. I have the following problem:

I have the following code:

SPAN#clock
{
font-family: Helvetica;
font-weight: bold;
text-align: right;
color: white;
letter-spacing: 0.07em;
text-shadow: 0px 0px 1px black;
font-size: 105px;
text-transform: Capitalize;
-webkit-mask-image: -webkit-gradient(linear, left top, left bottom, from(#666), to(transparent), color-stop(0.6, #666));
}

which obviously creates a clock showing the hours. Now I would like to change the font to the one I assigned in Bytafont to "LockClock".

I tried to rewrite the font-family: Helvetica part to font-family: LockClock, but with no success.

Can anyone help me out here? Thanks a lot!
 
Thanks a lot Schnedi, that helped!

Anyways... Now it looks like this:

http://i51.tinypic.com/fv0w9.png

I didn't change anything in the code but the font... Do you have any idea how to fix this?


** NVM, I figured it out... font weight cant be "bold" for some reason.
 
Last edited:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.