1
Drennen
Can't change module text color
  • 2006/6/18 16:57

  • Drennen

  • Just popping in

  • Posts: 12

  • Since: 2005/2/20


I can't figur out how to change the module text color. I was able to change the block text colors but not the modules. Its like this on all of the moduules http://crazybongs.net/xoops/html/modules/newbb/
i thought it was the style.css how ever no matter what i change it stays the same and i clicked the Update module template to yes. Here is my style.css if anyone could help i would be greatful.

body {color: #FFFFFF; background: black; background-image: url(pc_bg.gif); margin: 0; padding: 0;}



table {width: 900; margin: 0; padding: 0; font-size: small}
table td {padding: 0; border-width: 0; vertical-align: top; font-family: Tahoma, Verdana, sans-serif;}

a {color: #C0C0C0; text-decoration: none; font-weight: bold; background-color: transparent;}
a:hover {color: #00FF00;}

h1 {}
h2 {}
h3 {}
h4 {}
h5 {}
ul { margin: 2px; padding: 2px; list-style: decimal inside; text-align: left;}
li { margin-left: 2px; list-style: square inside; color: #189F40}


.item {}
.itemHead {height: 18px; padding: 3px; background-color: #000000; background-image: url(centertop.jpg); color: #white;}
.itemInfo {text-align: right; padding: 3px; background-color: #065424}
.itemTitle a {font-size: 12px; font-weight: bold; font-variant: small-caps; color: #ffffff; background-color: transparent;}
.itemPoster {font-size: 90%; font-style:italic;
font-family: Tahoma, Verdana, sans-serif;
color: #c0c0c0;}
.itemPostDate {font-size: 90%; font-style:italic;
font-family: Tahoma, Verdana, sans-serif;
color: #c0c0c0;}
.itemStats {font-size: 90%; font-style:italic;}
.itemBody {padding-left: 5px;
font-family: Tahoma, Verdana, sans-serif;
font-size: 12px;}

.itemText {margin-top: 5px; margin-bottom: 5px; line-height: 1.5em;
font-family: Tahoma, Verdana, sans-serif;
font-size: 12px;color:red}
.itemText:first-letter {font-size: 133%; font-weight: bold;}
.itemFoot {text-align: right; padding: 3px; background-color: #065424}
.itemAdminLink {font-size: 90%;}
.itemPermaLink {font-size: 90%; font-style:italic;}

th {background-color: #189F40; color: #FFFFFF; padding : 2px; vertical-align : middle; font-family: Verdana, Arial, Helvetica, sans-serif;}

td#headerbanner {width: 100%; background-color: #189F40; vertical-align: middle; text-align:center;}
td#headerbar {border-bottom: 1px solid #dddddd; background-image: url(hbar.gif);}



td#leftcolumn {width: 180px; font-size:10px;}
td#leftcolumn th {background-color: #189F40; color: #FFFFFF; vertical-align: middle;}
td#leftcolumn div.blockTitle {padding: 3px; background-color: transparent; color: #80FF80; font-weight: bold;
font-size: 12px;}
td#leftcolumn div.blockContent {padding: 3px; line-height: 120%; line-height: 120%;
font-size: 10px;}


td#centercolumn {font-size: 12px;}

td#centercolumn th {background-color: #189F40; color: #FFFFFF; vertical-align: middle;}
td#centerCcolumn {padding: 0px 3px 1px 3px;}
td#centerCcolumn legend.blockTitle {padding: 3px; color: #80FF80; font-weight: bold; margin-top: 0px; margin-right: 0px; margin-left: 0px;}
td#centerCcolumn div.blockContent {padding: 3px; margin-right: 0px; margin-left: 0px; margin-bottom: 2px; line-height: 120%;}

td#centerLcolumn {width: 50%; padding: 0px 3px 0px 0px;}
td#centerLcolumn legend.blockTitle {padding: 3px; color: #80FF80; font-weight: bold; margin-top: 0px;}
td#centerLcolumn div.blockContent {padding: 3px; margin-left: 3px; margin-right: 2px; margin-bottom: 2px; line-height: 120%;}

td#centerRcolumn {width: 50%; padding: 0px 3px 0px 0px;}
td#centerRcolumn legend.blockTitle {padding: 3px; color: #80FF80; font-weight: bold; margin-top: 0px;}
td#centerRcolumn div.blockContent {padding: 3px; margin-left: 2px; margin-right: 3px; margin-bottom: 2px; line-height: 120%;}

div#content {text-align: left; padding: 8px;}

td#rightcolumn {width: 180px; font-size:12px;}
td#rightcolumn th {background-color: #189F40; color: #FFFFFF; vertical-align: middle;}
td#rightcolumn div.blockTitle {padding: 3px; background-color: transparent; color: #80FF80; font-weight: bold;}
td#rightcolumn div.blockContent {padding: 3px; line-height: 120%;
font-size: 10px;
font-family: Tahoma, Verdana, sans-serif;}

tr#footerbar {text-align:center;
font-family: Tahoma, Verdana, sans-serif;
font-size: 10px;
color: #c0c0c0;}

td#mainmenu a {background-color: #000000; display: block; margin: 0; padding: 4px;}
td#mainmenu a:hover {background-color: #000000;}
td#mainmenu a.menuTop {padding-left: 3px;}
td#mainmenu a.menuMain {padding-left: 3px;}
td#mainmenu a.menuSub {padding-left: 9px;}

td#usermenu a {background-color: #000000; display: block; margin: 0; padding: 4px;}
td#usermenu a:hover {background-color: #000000;}
td#usermenu a.menuTop {border-top: 1px solid silver;}
td#usermenu a.highlight {background-color: #fcc;}



.outer {}
.head {background-color: #000000; padding: 5px; font-weight: bold;}
.even {background-color: #065424; padding: 5px;}
.odd {background-color: #14AC48; padding: 5px;}
.foot {background-color: #000000; padding: 5px; font-weight: bold;}
tr.even td {background-color: #065424; padding: 5px;}
tr.odd td {background-color: #14AC48; padding: 5px;}

div.errorMsg { background-color: #FFCCCC; text-align: center; border-top: 1px solid #DDDDFF; border-left: 1px solid #DDDDFF; border-right: 1px solid #AAAAAA; border-bottom: 1px solid #AAAAAA; font-weight: bold; padding: 10px;}
div.confirmMsg { background-color: #DDFFDF; color: #136C99; text-align: center; border-top: 1px solid #DDDDFF; border-left: 1px solid #DDDDFF; border-right: 1px solid #AAAAAA; border-bottom: 1px solid #AAAAAA; font-weight: bold; padding: 10px;}
div.resultMsg { background-color : #CCCCCC; color: #333333; text-align: center; border-top: 1px solid silver; border-left: 1px solid silver; font-weight: bold; border-right: 1px solid #666666; border-bottom: 1px solid #666666; padding: 10px;}

div.xoopsCode { background: #FFFFFF; border: 1px inset #000080; font-family: "Courier New",Courier,monospace; padding: 0px 6px 6px 6px;}
div.xoopsQuote { background: #FFFFFF; border: 1px inset #000080; font-family: "Courier New",Courier,monospace; padding: 0px 6px 6px 6px;}


.comTitle {font-weight: bold; margin-bottom: 2px;}
.comText {padding: 2px;}
.comUserStat {font-size: 10px; color: #189F40; font-weight:bold; border: 1px solid silver; background-color: #ffffff; margin: 2px; padding: 2px;}
.comUserStatCaption {font-weight: normal;}
.comUserStatus {margin-left: 2px; margin-top: 10px; color: #189F40; font-weight:bold; font-size: 10px;}
.comUserRank {margin: 2px;}
.comUserRankText {font-size: 10px;font-weight:bold;}
.comUserRankImg {border: 0;}
.comUserName {}
.comUserImg {margin: 2px;}
.comDate {font-weight: normal; font-style: italic; font-size: smaller}
.comDateCaption {font-weight: bold; font-style: normal;}

2
iHackCode
Re: Cant change module text color

first. is. <{$xoops_module_header}> in the theme.html file?

if not. it goes between the head tags.. like the example below.
<title><{$xoops_sitename}> - <{$xoops_pagetitle}>title>
<
link href="<{$xoops_url}>/favicon.ico" rel="SHORTCUT ICON" />
<
link rel="stylesheet" type="text/css" media="all" href="<{$xoops_url}>/xoops.css" />
<
link rel="stylesheet" type="text/css" media="all" href="<{$xoops_themecss}>" />
[
color=0033FF] <{$xoops_module_header}>[/color]
<
script type="text/javascript">

script>
CBB / LatestNews / Publisher / XM-Spotlight

(ノ◕ヮ◕)ノ*:・゚✧

3
Drennen
Re: Cant change module text color
  • 2006/6/19 13:17

  • Drennen

  • Just popping in

  • Posts: 12

  • Since: 2005/2/20


It wasn't but i just put it in and its still not working. Does moldules use the theme_blockcenter_c.html or is there supposed to be a theme_moldule.html? Thanks for the help

4
iHackCode
Re: Cant change module text color

your drop down menu for the forum wasnt working right so i suggested including the module header tag.
--

and for the font color problem. it looks like it is in theme.html
search for centercolumn in the theme.html file and change the font colors.
CBB / LatestNews / Publisher / XM-Spotlight

(ノ◕ヮ◕)ノ*:・゚✧

5
Drennen
Re: Cant change module text color
  • 2006/6/20 12:11

  • Drennen

  • Just popping in

  • Posts: 12

  • Since: 2005/2/20


i tryed that and still nota dose this look ok

<{if $xoops_showcblock == 1}>












<{foreach item=block from=$xoops_ccblocks}>
<{include file="lime/theme_blockcenter_c.html"}> <{/foreach}>



<{foreach item=block from=$xoops_clblocks}>
<{include file="lime/theme_blockcenter_l.html"}> <{/foreach}>



<{foreach item=block from=$xoops_crblocks}>
<{include file="lime/theme_blockcenter_r.html"}> <{/foreach}>




<{/if}>


<{$xoops_contents}>



<{if $xoops_showrblock == 1}>



<{foreach item=block from=$xoops_rblocks}>
<{include file="lime/theme_blockright.html"}>
<{/foreach}>



<{/if}>









and





<{$block.title}>
<{$block.content}>




do you see what might be wrong?
i think i'm going bald

6
Quest
Re: Can't change module text color
  • 2006/6/20 13:28

  • Quest

  • Friend of XOOPS

  • Posts: 1034

  • Since: 2005/11/19


What color do you want the module text to be?
I think it is controled by the div.content font color attribute or the .css attribute for #div.content.

Here is what you have now:
<{/if}>


<{$xoops_contents}>



Try taking these out and then it should show module text as white frome your body css.

<{/if}>


<{$xoops_contents}>



If you want it to be something other than white you can change it in the css.

Find the #div.content and add color to it:

div#content {text-align: left; padding: 8px; color: #xxxxxx}

Hope this helps,
Quest

7
Drennen
Re: Can't change module text color
  • 2006/6/21 13:02

  • Drennen

  • Just popping in

  • Posts: 12

  • Since: 2005/2/20


ok that made some content show but not the background words. what determines the layout of modules? you know how it says td#centercolumn or td#centerRcolumn. thank you guys for all your help

8
Drennen
Re: Can't change module text color
  • 2006/6/21 14:41

  • Drennen

  • Just popping in

  • Posts: 12

  • Since: 2005/2/20


i just noticed all of my themes have black text it don't change with the style.css

9
DIDI5
Re: Can't change module text color
  • 2006/6/21 14:47

  • DIDI5

  • Just popping in

  • Posts: 36

  • Since: 2006/3/24


in case of NEWBB module
I think NEWBB has a seperate /.css
where all these drop menus and tables and text are controled
.it is in the same folder for NEWBB
check for a css in your newbb's folder!!

10
Drennen
Re: Can't change module text color
  • 2006/6/21 15:33

  • Drennen

  • Just popping in

  • Posts: 12

  • Since: 2005/2/20


It dose but i don't see where to change it at

div.karma
{
background-color: transparent;
text-align: center;
border-top: 1px solid #DDDDFF;
border-left: 1px solid #DDDDFF;
border-right: 1px solid #AAAAAA;
border-bottom: 1px solid #AAAAAA;
padding: 10px; color: #FFFFFF
}

span.digest
{
}

body {
behavior:url("include/newbb.htc");
}
img {
behavior:url("include/pngbehavior.htc");
}

li.newbb_folder,.newbb_link {
display:block;
margin:0;
padding:0;
border:0;
}

ul.newbb_level1, ul.newbb_level2, ul.newbb_level3 {
display:block;
margin:0;
padding:0;
border:0;
width:160px; /* Width of the Dropdownmenu Title and Menu themself */
border:0px;
background:#2F5376; /* Main Background of the Menu Folder */
list-style:none;
}

li.newbb_folder {
position:relative;
padding:1px;
padding-left:10px;
background-color:#2F5376; /* background of the Dropdownmenu Title */
border: 1px solid #2F5376; /* Must be the same color as above */
color:white; /* Textcolor of the Dropdownmenu Title */
z-index:9;
list-style:none;
}


li.newbb_folder:hover { z-index:10;}
li.newbb_folder ul {
position:absolute;
display:none;
left:-56px; /* IE */
top:13px;
}
li.newbb_folder>ul { left:-1px; top: 16px}

ul.newbb_level1 {z-index:1} li.newbb_folder:hover ul.newbb_level2,
ul.newbb_level2 li.newbb_folder:hover ul.newbb_level3 {
display:block;
}

.newbb_link {
border: 0px;
padding: 2px;
text-decoration: none;
color: white /* Normal Color of the Links */
!important;
font-weight: bold;
width: 100%; /* IE */
text-align: left;
}
li>.newbb_link { width:auto; }

li link.newbb_submenu {

background-color:#2F5376; /* Background of the Links in the Menu */
}

.newbb_link:hover {
border:0px;
color:orange /* Hover Color of the Links */
!important;
}
li.newbb_folder .newbb_link:hover {
}

div.signature {

bottom: 10px;
}

Stats
Goal: $100.00
Due Date: Oct 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits