inherit
120077
0
Mar 22, 2021 9:37:29 GMT -8
My Name is Billy Moonstone
726
February 2008
askandprosper
|
Post by My Name is Billy Moonstone on Apr 6, 2013 3:11:51 GMT -8
Hi Can someone tell me what I need to add to this line of code to change the colour of the font? I'm actually using it in Brian's sidebar redux plugin to display text within one of sidebar things. I just thought though that it's probably pretty standard stuff and not specific to his plugin. Does anyone know what I need to add? Thanks
|
|
dno
Junior Member
Posts: 457
inherit
184272
0
Jan 15, 2022 17:30:40 GMT -8
dno
457
October 2012
dno
|
Post by dno on Apr 6, 2013 5:36:44 GMT -8
Hi My Name is Billy Moonstone. I just tried this in the sidebar (it seems to work) : <p style="font-family: Helvetica;color:red;font-size: 14px; ;"> THIS IS THE TEXT</p>
|
|
inherit
120077
0
Mar 22, 2021 9:37:29 GMT -8
My Name is Billy Moonstone
726
February 2008
askandprosper
|
Post by My Name is Billy Moonstone on Apr 6, 2013 5:52:45 GMT -8
Hey dno thanks very much for getting back to me. I tried that but I lost the bold and it wasn't centered. BUT I mixed what you said with the original and it does work so thanks! This is what I ended up with: THe only problem I have is that I want to set the colour by hex code to match something else - it's a dark pink/red colour and I can't quite sort it out. 'Crimson' works but is too dark, 'darkpink' doesn't work at all Have you (or anyone else) got any idea how to set the colour to a hex code within this string so I can be more precise what the actual colour is? Cheers bud
|
|
dno
Junior Member
Posts: 457
inherit
184272
0
Jan 15, 2022 17:30:40 GMT -8
dno
457
October 2012
dno
|
Post by dno on Apr 6, 2013 6:14:04 GMT -8
Sorry I missed a couple of bits from the code My Name is Billy Moonstone (glad you sorted it) You can add the hex value instead of the word "pink" I just tried #CC0099
|
|
inherit
120077
0
Mar 22, 2021 9:37:29 GMT -8
My Name is Billy Moonstone
726
February 2008
askandprosper
|
Post by My Name is Billy Moonstone on Apr 6, 2013 12:22:03 GMT -8
Hurray!!! Thanks dno absolutely spot on - problem solved - and you even hit the nail on the head with the colour lol ))) Cheers bud for taking the time to help, much appreciated For anyone reading this, this is what I ended up with: Job done
|
|