PHP-Nuke Services - Addons, Modules, Blocks Vizitati www.westdesign.ro Select Interface Language:EnglishRomanian
  Login or Register HomeForumsDownloadsYour AccountWeb LinksContact   
SectionsShow\Hide
MultiheadlinesShow\Hide
LoginShow\Hide
~ Welcome, alien
Nickname Password
(Register)

~ Membership:

Greetings to the newest member Quattro25
~ New Today: 0
~ New Yesterday: 1
~ Overall: 3710

~ People Online:
~ Visitors: 10
~ Members: 0
~ Total: 10
~Aikon is offline
on Yahoo Msg.
Link to meShow\Hide

aikons.net
Search in FeedsShow\Hide
Search in feeds
HistoryShow\Hide
On 8 January


Speed Up   Pause   Speed Down
DictionaryShow\Hide
Enter the word

Romanian users only

Situl personal NICU RANCOV Forum Index


Reply to topic Page 1 of 1
Changing News Background color
Message Author
Reply with quote
Post Posted: Friday 20 October, 2006 15:59

Hello all,
I want to change the background color of the news on my homepage. Right now it is gray but I need it to be white. I don't think that it's anything in my site's code that is making it gray.

BTW: I LOVE THIS MOD!!! Great Job Aikon!

thanks in advance everyone

View user's profile Send private message
Reply with quote
Post Posted: Friday 20 October, 2006 17:56

To change the background of the center block from your home page open block-Multiheadlines-center.php from your /blocks folder and replace $bgcolor2 with another html hex color from this three lines:
Code:
$content = "<table width=\"100%\" border=\"0\" align=\"center\" cellspacing=\"1\" bgcolor=\"$bgcolor2\">";

$content .=       "<tr><td align=\"center\" colspan=\"".$row["block_cols"]."\" bgcolor=\"".$bgcolor2."\"  height=\"25\"><b>".$categs[$i+1]."</b></td></tr>";   

$content .="  <td valign=\"top\" width=\"".$colwidth."%\" bgcolor=\"".$bgcolor2."\">".get_news($urls[$ord], '', "block")."</td>";


If you want ot change the backgorund of the table title and the table border colors replace $bgcolor1 in the same way int the following three lines:
Code:
$content .=    "<tr bgcolor=\"".$bgcolor1."\">";   

$content .=       "<td bgcolor=\"".$bgcolor1."\" align=\"center\"><a href=\"".$site[$ord]."\" target=\"blank\"><b>".$tit[$ord]."</b></a></td>";

$content .="</tr><tr bgcolor=\"".$bgcolor1."\">";


View user's profile Send private message Visit poster's website
Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Page Generation: 0.47 Seconds