TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 196,004
  • Total Topics: 21,330
  • Online today: 218
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 91
  • Total: 91

How to get forum color on TP Blocks

Started by Kimmen, July 27, 2011, 12:56:47 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Kimmen

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

ZarPrime

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. ;)

Kimmen

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

ZarPrime

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

This website is proudly hosted on Crocweb Cloud Website Hosting.