Ok... here what you should do. Go to /modules/mod_last5SBtopics.php and
BACK IT UP FIRST.
Go to line 48 and you'll see something like this:
PHP Code:
$meslist = $database->loadObjectList();
$content .="<table cellpadding=\"1\" border=\"0\" >"; // Edit this line
foreach ($meslist as $mes){
//check for Arrow option
Edit the line above ( marked with "//Edit this line comment" ) and add "
class=\"testClass\" after the
border=\"0\" and the completed will look like the following:
PHP Code:
$meslist = $database->loadObjectList();
$content .="<table cellpadding=\"1\" border=\"0\" class=\"testClass\">"; //Notice this has changed
foreach ($meslist as $mes){
//check for Arrow option
And now open up your current template's CSS which is usually in template/yourtemplatename/css/template_css.css.
Add a new set of testClass {} properties to the CSS to define your new Module's style:
Code:
table.testClass {
margin: 0px 0px 0px 0px;
width: 95%;
border-left: solid 1px #000000;
border-right: solid 1px #000000;
border-top: solid 1px #000000;
border-bottom: solid 1px #000000;
}
table.testClass th {
font-family: Arial, Verdana, Helvetica, sans-serif;
font-size: 11px;
font-weight: bold;
color: #333333;
text-align: left;
width: 100%;
height: 20px;
border-bottom: 1px solid #333333;
line-height: 20px;
}
table.testClass td {
font-family: Arial, Verdana, Helvetica, sans-serif;
font-size: 11px;
} Change anything you like and your module will use this CSS style.
Hop that helped.