TinyPortal

Development => Support => Topic started by: Kimmen on July 27, 2011, 12:56:47 AM

Title: How to get forum color on TP Blocks
Post by: Kimmen on July 27, 2011, 12:56:47 AM
Hello,
I use Prince of Darkness theme on my site, which we are editing the main_block image on. I see that in the forums, name of the boards, is a link offcorse, but it has a different color than the ones on tp-blocks, assume its because the name in tp-locks are not links, but is there still a way i can change color for only the name of the blocks?

Webby link: www.efclan.eu

SMF 2.0 Final and TP 1.104

Thanks
Kimmen
Title: Re: How to get forum color on TP Blocks
Post by: ZarPrime on July 27, 2011, 01:33:43 AM
Kimmen,

In this file --> http://www.efclan.eu/Themes/Prince_of_Darkness_201/css/index.css

Code (Find This) Select

h3.titlebg a, h3.titlebg, h4.titlebg, h4.titlebg a
{
color: #6F6045;
}
h3.titlebg a:hover, h4.titlebg a:hover
{
color: #8F7B59;
text-decoration: none;
}


The top color is for the normal color and the bottom one is for the hover color on certain block titles that have links, like the user block and the Stats block.  Beware that changing these may affect other areas of the site as well.  BTW, I really like that red gradient you are using.  It looks great.

ZarPrime

Edit:  Oh wait, that's not what you asked, is it?  OK, the colors for the Board names are in the same file ...

Code (Find This) Select

/* Styles for the board index.
------------------------------------------------- */
/* the board title! */
.table_list tbody.content td.info a.subject
{
font-weight: bold;
font-size: 110%;
line-height: 140%;
color: #6F6045;
}
.table_list tbody.content td.info a.subject:hover
{
text-decoration: none;
color: #AF976D;
}


Edit Again:  Arrrggghh.  OK, maybe that is what you were asking. ;D Either way, the above should give you the answer. ;)
Title: Re: How to get forum color on TP Blocks
Post by: Kimmen on July 27, 2011, 07:58:54 AM
Quote from: ZarPrime on July 27, 2011, 01:33:43 AM
Kimmen,

In this file --> http://www.efclan.eu/Themes/Prince_of_Darkness_201/css/index.css

Code (Find This) Select

h3.titlebg a, h3.titlebg, h4.titlebg, h4.titlebg a
{
color: #6F6045;
}
h3.titlebg a:hover, h4.titlebg a:hover
{
color: #8F7B59;
text-decoration: none;
}

This was indeed the code i was asking for, i have now change it to match the forum Category. Sorry that i was so confusing, but to my defence, it was very late when i asked lol  ;D
Thanks alot for your help ZarPrime.

Quote from: ZarPrime on July 27, 2011, 01:33:43 AM
The top color is for the normal color and the bottom one is for the hover color on certain block titles that have links, like the user block and the Stats block.  Beware that changing these may affect other areas of the site as well.  BTW, I really like that red gradient you are using.  It looks great.

Thanks, ill make sure to let my clanmate know about that. It was not me who did that, but i mey have been involved in the idea process hehe  O0
Title: Re: How to get forum color on TP Blocks
Post by: ZarPrime on July 27, 2011, 02:45:47 PM
Hey, no problem.  I was tired when I first read your OP so after I posted and read it a second time, I thought maybe I didn't give you the correct info.  In any case, your first post was clear enough.  I think it was just my eyes, or maybe my brain, that was cloudy. ;D I'm glad I gave you the correct info and you figured it out.

ZarPrime