TinyPortal

Development => Support => Topic started by: alan19792008 on January 17, 2009, 07:21:14 PM

Title: Changeing font colours
Post by: alan19792008 on January 17, 2009, 07:21:14 PM
Hi guys ive changed the colour of my site and now the font color on the tiny portal blocks is black the same color as my site. if you click the link below you will see what i mean. how do i rectify this please.

Link to my site: http://www.easyfreecouncilexchange.co.uk
SMF version: 1.1.7
TP version: 0.9.8
Theme name and version: core default
Mods installed: none
Related Error messages: none
Title: Re: Changeing font colours
Post by: Zetan on January 17, 2009, 07:27:14 PM
If you can't see the font because of it's colour, you'll need to edit the .css file of the theme you are changing, direct from the server. Download the file, edit it, then re-upload.

[Edit] I hope that's a Copy of the default theme you are editing?

All the font colors are in the style.css file, you've changed: titlebg (colour), there will be a color for the font local to that line.
Title: Re: Changeing font colours
Post by: alan19792008 on January 17, 2009, 07:30:08 PM
what do i need to change on it
Title: Re: Changeing font colours
Post by: Zetan on January 17, 2009, 07:35:00 PM
See my edit, the color is represented by: #000000 (and a series of numbers)

Heres a colour chart: http://en.wikipedia.org/wiki/Web_colors (Actually, the link with the actual chart I use has been removed).
Title: Re: Changeing font colours
Post by: alan19792008 on January 17, 2009, 07:38:34 PM
it is a copy of the default theme
Title: Re: Changeing font colours
Post by: Zetan on January 17, 2009, 07:41:30 PM
Just checking. Best to leave the original alone, just in case anything goes wrong.
Title: Re: Changeing font colours
Post by: alan19792008 on January 17, 2009, 07:44:59 PM
thanks mate its sorted now O0
Title: Re: Changeing font colours
Post by: Zetan on January 17, 2009, 07:45:40 PM
Good stuff  :up:
Title: Re: Changeing font colours
Post by: alan19792008 on January 17, 2009, 07:59:18 PM
ok anothe rprob along the same lines. when i go to post a new topic. at the bottom of the page where it tells you "topic you have posted in" and "locked topic" that font color is black to. what do i need to change for that
Title: Re: Changeing font colours
Post by: Zetan on January 17, 2009, 08:03:31 PM
Download Firebug for Firefox (does not work for FF3 yet) Or the Webdeveloper plugin for FF.
I can't see it as you have your forum closed to Guests and unless I change my site theme to the Default.. I don't know.

Get one of those plugins, they will help you identify what the elements around the site are.
Title: Re: Changeing font colours
Post by: Zetan on January 17, 2009, 08:05:13 PM
Here: http://getfirebug.com/
Title: Re: Changeing font colours
Post by: alan19792008 on January 17, 2009, 08:06:28 PM
ok i have set one of the forums so that guests can view it so you can see it. will lock it when your done
Title: Re: Changeing font colours
Post by: Zetan on January 17, 2009, 08:08:06 PM
I just posted the link for Firebug.. It's very useful.
Title: Re: Changeing font colours
Post by: Zetan on January 17, 2009, 08:10:08 PM
Try: titlebg2
Title: Re: Changeing font colours
Post by: alan19792008 on January 17, 2009, 08:23:37 PM
nope didnt work but will try firebug
Title: Re: Changeing font colours
Post by: Zetan on January 17, 2009, 08:25:27 PM
Good stuff, I just found Firebug for FF3.
If the element isn't there for the font color, create a new line for it, copy the one from: titlebg
Title: Re: Changeing font colours
Post by: Zetan on January 17, 2009, 08:38:21 PM
This is what Firebug shows, when you hit, Inspect:

body, td, th, tr {style.css?fin11 (line 113)
color:#000000;
font-family:verdana,sans-serif;
font-size:small;
}


From your site
Title: Re: Changeing font colours
Post by: alan19792008 on January 17, 2009, 09:23:34 PM
thanks mate its fixed
Title: Re: Changeing font colours
Post by: Zetan on January 18, 2009, 02:57:21 AM
Ok.. great. seems your site is down though?
Title: Re: Changeing font colours
Post by: alan19792008 on January 18, 2009, 11:59:10 AM
i know mate. its up now, having probs with my server provider. what do i need to add in .CSS to add a background wallpaper
Title: Re: Changeing font colours
Post by: Zetan on January 18, 2009, 12:12:00 PM
Try something like:




/* The main body of the entire forum. OPTIONS: background-attachment: fixed; background-repeat: repeat-x; */
body
{
   background-color: #000000;
   background-image: url("images/img/back.jpg");
   background-attachment: fixed;
   background-position: top left;
   background-repeat: repeat;
   margin: 0px;
   padding: 15px 0 4px 0;
   
}



If you don't want a fixed background, remove the line.
The image path is a demo, use the path for your theme.


[Edit]

You already have a: body element, delete it and use the above, or incorporate it into it.
Title: Re: Changeing font colours
Post by: alan19792008 on January 18, 2009, 05:54:31 PM
thanks mate. its done. take a look at www.easyfreecouncilexchange.co.uk
Title: Re: Changeing font colours
Post by: Zetan on January 18, 2009, 05:57:16 PM
Quote from: alan19792008 on January 18, 2009, 05:54:31 PM
thanks mate. its done. take a look at www.easyfreecouncilexchange.co.uk

Oooh.. yeah.. ummm. I would use something a little more subtle, to be straight with you. With the genre of you're site, that background doesn't work.. trust me  ;)

Have a look at some of the showcase sites.. Why not try out a few themes, there's plenty that are free. Check the theme boards, and the downloads. You are welcome to have a look at my site, link under my Avatar. <<< Probably not the best site for comparison, but it shows themes in use.

[edit] And the red font in the Admin user name seriously clashes with that shade of grey