Welcome, Guest. Please Login or Register.
April 30, 2025, 01:33:43 PM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  Development  |  Graphics and Templates  |  10 Recent Posts Color Trouble « previous next »
Pages: [1] Reply Ignore Print
Author Topic: 10 Recent Posts Color Trouble  (Read 616 times)
gingerfire
Noobie
*
Posts: 8


OK, I'm coming.

WWW
10 Recent Posts Color Trouble
« on: February 03, 2003, 08:14:11 AM »
Reply with quote

I've been working on a black and white template to coordinate with my website and logo.  I thought I was getting close until I saw the the 10 Recent Posts page:  the thread link doesn't show up on the black background from the titlebg style.  (I was using a black link, but my secondary choices are all dark too.)  Is there any fairly simple way to fix the link for THIS page only?  

http://www.indyaccess.org/yabbse/
Logged

gingerfire
TempusFugit
Noobie
*
Posts: 41


tempusfugit@mail.com WWW
Re:10 Recent Posts Color Trouble
« Reply #1 on: February 03, 2003, 01:25:41 PM »
Reply with quote

Did you solve the problem? Because I don't see anything wrong there  ???  And something else: it's better not to use bold in A:hover... It's a little bit annoying...  :)
Logged

"All men dream: but not equally. Those who dream by night in the dusty recesses of their mind wake in the day to find that it was vanity: but the dreamers of the day are dangerous men, for they may act their dream with open eyes, to make it possible. This I did."
andrea
Global Moderator
YaBB God
*****
Posts: 4400


Peace on Earth

WWW
Re:10 Recent Posts Color Trouble
« Reply #2 on: February 03, 2003, 06:48:23 PM »
Reply with quote

The colors for the 10 recent posts are taken from the Settings.php color codes.
Logged

gingerfire
Noobie
*
Posts: 8


OK, I'm coming.

WWW
Re:10 Recent Posts Color Trouble
« Reply #3 on: February 03, 2003, 11:51:52 PM »
Reply with quote

Thanks for the tips. I haven't fixed this although I have been playing around with different colors, because I'm afraid my problem can't be easily fixed.    

The problem is the  thread link only part of the text on the black background.  I can set the rest of the text white, but the black link (or dark gray as a 2nd choice) works well for links everywhere else, just not when there is a link against the black titlebg.  

www.indyaccess.org/yabbse/
Logged

gingerfire
gingerfire
Noobie
*
Posts: 8


OK, I'm coming.

WWW
Re:10 Recent Posts Color Trouble
« Reply #4 on: February 04, 2003, 12:16:59 AM »
Reply with quote

Interesting and hopeful:  the results from a search nicely display a white link against the black background ....  vs. the "10 Recent Posts" which seems to pick up the link color from the link style.  

I'm going to continue investigating -- figure out where/how the search results is doing what I want the 10 Recent Posts to do.  I'm new to ALL of this so help is appreciated.
Logged

gingerfire
gingerfire
Noobie
*
Posts: 8


OK, I'm coming.

WWW
Re:10 Recent Posts Color Trouble
« Reply #5 on: February 04, 2003, 08:59:22 AM »
Reply with quote

 ;D I think I found the problem:

From Search.php (works fine )

Quote

<td bgcolor="' . $color['titlebg'] . '" class="titlebg"><font class="text1" color="' . $color['titletext'] . '" size="2"><b> ' . $row['cname'] . ' / ' . $row['bname'] . ' / <a href="' . $scripturl . '?board=' . $row['ID_BOARD'] . ';action=display;threadid=' . $row['ID_TOPIC'] . ';start=' . $start . '"><font class="text1" color="' . $color['titletext'] . '" size="2">' . $row['subject'] . '</font></a></b></font></td>


From Recent.php


Quote<td width="75%" bgcolor="' . $color['titlebg'] . '" class="titlebg"><font class="text1" color="' . $color['titletext'] . '" size="2"><b> ' . $row['cname'] . ' / ' . $row['bname'] . ' / <a href="' . $scripturl . '?board=' . $row['ID_BOARD'] . ';action=display;threadid=' . $row['ID_TOPIC'] . ';start=' . $row['numReplies'] . '">' . $row['subject'] . '</a></b></font></td>

So I changed Recent to

Quote<td width="75%" bgcolor="' . $color['titlebg'] . '" class="titlebg"><font class="text1" color="' . $color['titletext'] . '" size="2"><b> ' . $row['cname'] . ' / ' . $row['bname'] . ' / <a href="' . $scripturl . '?board=' . $row['ID_BOARD'] . ';action=display;threadid=' . $row['ID_TOPIC'] . ';start=' . $row['numReplies'] . '"><font class="text1" color="' . $color['titletext'] . '" size="2">' . $row['subject'] . '</font></a></b></font></td>


By inserting:

Quote<font class="text1" color="' . $color['titletext'] . '" size="2">

and

Quote</font>


Result:  I now have the white link that I wanted against the black background!!!!

(I can't believe I fixed this!  :o )

Now on to more customization.  
Logged

gingerfire
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  Development  |  Graphics and Templates  |  10 Recent Posts Color Trouble « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.031 seconds with 20 queries.