- Readme First! - Read and follow the rules, otherwise your posts will be closed
There are currently, 61 guest(s) and 0 member(s) that are online. You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Bold Block title [ ]
Author
Message
lunchbox
Corporal
Joined: Oct 28, 2003
Posts: 56
Posted:
Wed Sep 21, 2005 7:57 pm
I am using a theme called "tribal" and i would like to know how i can make the block title Bold..so it shows up better.
thanks alot
Xyberian
Colonel
Joined: Mar 14, 2004
Posts: 1921
Location: Behind you
Posted:
Wed Sep 21, 2005 8:11 pm
step 1: Open your themes/your-theme/theme.php file
step 2: find the following code line
Code:
function themesidebox($title, $content) {
step 3: Below the line, you will see $title variable.
step 4: wrap $title with < b> & < /b > tags.
Save it.
_________________ •NukeKorea Dev. Network.
•NukeKorea Laboratories
lunchbox
Corporal
Joined: Oct 28, 2003
Posts: 56
Posted:
Wed Sep 21, 2005 8:51 pm
Code:
function themesidebox(<b>$title</b>, $content) {
Im getting an error when i do that...am i doing something wrong
thanks alot for looking into it for me
Code:
}
/************************************************************/
/* Function themesidebox() */
/************************************************************/
/************************************************************/
/* Function themesidebox() */
/* */
/* Control look of your blocks. Just simple. */
/************************************************************/
function themesidebox($title, $content) {
echo"<br>"
. "<TABLE cellSpacing=0 cellPadding=0 width=\"165\" "
. "border=0>"
. " <TR>"
. " <TD width=\"165\">"
. " <TABLE cellSpacing=0 cellPadding=0 width=\"165\" "
. " border=0 height=\"38\">"
. " <TBODY>"
. " <TR>"
. " <TD align=middle height=\"38\" background=\"themes/TriBaL/images/blocks/TriBaLblockup.gif\">"
. " <font=\"#0169D3\">$title</font></TD></TR></TBODY></TABLE></TD></TR>"
. " <TR>"
. " <TD background=\"themes/TriBaL/images/blocks/TriBaLblockmid.gif\" width=\"165\">"
. " <TABLE cellSpacing=9 cellPadding=0 width=\"100%\" "
. " border=0 height=\"9\">"
. " <TBODY>"
. " <TR>"
. " <TD height=\"1\">"
. " $content</TD></TR></TBODY></TABLE></TD></TR>"
. " <TR>"
. " <TD background=\"themes/TriBaL/images/blocks/TriBaLblockdown.gif\" "
. " height=38 width=\"165\"></TD></TR></TABLE>";
}
?>
Xyberian
Colonel
Joined: Mar 14, 2004
Posts: 1921
Location: Behind you
Posted:
Wed Sep 21, 2005 9:12 pm
copy and paste the following codes and replace themesidebox() function
Code:
function themesidebox($title, $content) {
echo"<br>"
. "<TABLE cellSpacing=0 cellPadding=0 width=\"165\" "
. "border=0>"
. " <TR>"
. " <TD width=\"165\">"
. " <TABLE cellSpacing=0 cellPadding=0 width=\"165\" "
. " border=0 height=\"38\">"
. " <TBODY>"
. " <TR>"
. " <TD align=middle height=\"38\" background=\"themes/TriBaL/images/blocks/TriBaLblockup.gif\">"
. " <font=\"#0169D3\"><b>$title</b></font></TD></TR></TBODY></TABLE></TD></TR>"
. " <TR>"
. " <TD background=\"themes/TriBaL/images/blocks/TriBaLblockmid.gif\" width=\"165\">"
. " <TABLE cellSpacing=9 cellPadding=0 width=\"100%\" "
. " border=0 height=\"9\">"
. " <TBODY>"
. " <TR>"
. " <TD height=\"1\">"
. " $content</TD></TR></TBODY></TABLE></TD></TR>"
. " <TR>"
. " <TD background=\"themes/TriBaL/images/blocks/TriBaLblockdown.gif\" "
. " height=38 width=\"165\"></TD></TR></TABLE>";
}
_________________ •NukeKorea Dev. Network.
•NukeKorea Laboratories
lunchbox
Corporal
Joined: Oct 28, 2003
Posts: 56
Posted:
Thu Sep 22, 2005 5:08 am
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