TinyPortal

Development => Support => Topic started by: keith021773 on October 08, 2006, 03:09:57 PM

Title: Color of title for blocks
Post by: keith021773 on October 08, 2006, 03:09:57 PM
I did search for this but couldn't find what I was looking for.   Sorry if this is a repost of a question.

Is there a way to change the color of block titles?    I was thinking of red.   I tried to just use color changes like this.   But it didn't work?   Any ideas?
Title: Re: Color of title for blocks
Post by: G6Cad on October 08, 2006, 03:11:57 PM
Style.css file for the theme you want to change the link colors to.

Look in there and laborate some :)
Title: Re: Color of title for blocks
Post by: G6Cad on October 08, 2006, 03:13:31 PM
Laborate with this part of the code in your Style.css

/* Normal, standard links. */
a:link
{
   color: #476C8E;
   text-decoration: none;
}
a:visited
{
   color: #476C8E;
   text-decoration: none;
}
a:hover
{
   text-decoration: underline;
}

/* Navigation links - for the link tree. */
.nav, .nav:link, .nav:visited
{
   color: #000000;
   text-decoration: none;
}
a.nav:hover
{
   color: #cc3333;
   text-decoration: underline;
}

/* Tables should show empty cells. */
table
{
   empty-cells: show;
}
Title: Re: Color of title for blocks
Post by: keith021773 on October 09, 2006, 02:22:07 PM
Don't laugh at me, but which one exactly in that code does the title bars?   :)
Title: Re: Color of title for blocks
Post by: IchBin on October 09, 2006, 02:32:30 PM
Look for titlebg in your style.css file.
Title: Re: Color of title for blocks
Post by: Amay_Zing on October 12, 2006, 12:49:23 PM
Is this for the 2 tone grey background in the block titles?  If it is I tried to change the colour in the style.css file ie in this part

* These are used primarily for titles, but also for headers (the row that says what everything in the table is.) */
.titlebg, tr.titlebg th, tr.titlebg td, .titlebg a:link, .titlebg a:visited, .titlebg2, tr.titlebg2 th, tr.titlebg2 td, .titlebg2 a:link, .titlebg2 a:visited
{
        background-color: #303030;
        font-weight: bold;
        color: #e0e0e0;
        font-style: normal;
        background-image: url(images/pod/titlebg.gif);

}
.titlebg a:hover, .titlebg2 a:hover
{

        color: #f0e080;


and I don't see what has changed  :-\
Title: Re: Color of title for blocks
Post by: G6Cad on October 12, 2006, 12:53:30 PM
You have to clear your cache and do a hard refresh in order to see the changes, i have been foold many times with that  ;)
Title: Re: Color of title for blocks
Post by: Amay_Zing on October 12, 2006, 01:26:59 PM
lol ok thanks
Title: Re: Color of title for blocks
Post by: Amay_Zing on October 12, 2006, 01:49:41 PM
I have cleared the cache and hard refresh on FF and the blocks flash the colour I chose but then go back to grey.  I tried with IE7 but cannot find how to clear cache with this.
Title: Re: Color of title for blocks
Post by: Amay_Zing on October 12, 2006, 01:52:42 PM
haha just found that I may not be able to do this because I am using Helios and there are images ie background-image: url(images/pod/titlebg.gif);
Title: Re: Color of title for blocks
Post by: borgBOB on October 12, 2006, 02:47:52 PM
But you could replace that image with one that is the color you want.
Title: Re: Color of title for blocks
Post by: Amay_Zing on October 13, 2006, 02:06:34 PM
cool thx