Uutiset:

Wondering if this will always be free?  See why free is better.

Main Menu
Advertisement:

Another small css issue.

Aloittaja tumbleweed, syyskuu 18, 2006, 04:35:48 IP

« edellinen - seuraava »

tumbleweed

Running:

smf 1.1/RC3
TP v0.9.5.
default templete

I diid some color changing to the css.

I just cannot seem to find were to change the color for the text that resides below the main forum.
Notice that you cannot read the text in that box.
Example given here:

http://www.gotcanyons.net/gc/index.php?board=10.0

any ideas?

G.C. SOLUTIONS - Hosting Quality Sites Since 2006. Experience Your Forums On A Whole New Level
Elastic Sites Stress Fast CPU/Ram Upgrades- More Info Here.
Reviews By SMF Forum Owners - Read Our Rev

matera

The class of that table is titlebg2, so you could change to:
color:#00FFFF;

tumbleweed

Here is the CSS I think i have highlight all the titlebg2 code,And i have changed it to #00FFFF.

Still does not work.  did i miss a code line somewere?

/* Normal, standard links. */
a:link
{
   color: #0000FF;
   text-decoration: none;
}
a:visited
{
   color: #0000FF;
   text-decoration: none;
}
a:hover
{
color: #cc3333;
   text-decoration: underline;
}

/* Navigation links - for the link tree. */
.nav, .nav:link, .nav:visited
{
   color: #000000;
   text-decoration: none;
}
a.nav:hover
{
   color: #cc3333;
   text-decoration: underline;
}

/* Tables should show empty cells. */
table
{
   empty-cells: show;
}

/* By default (td, body..) use verdana in black. */
body, td, th , tr
{
   color: #000000;
   font-size: small;
   font-family: verdana, sans-serif;
}

/* The main body of the entire forum. */
body
{
   background-color: #AEAA9F;
   margin: 0px;
   padding: 12px 30px 4px 30px;
}

/* Input boxes - just a bit smaller than normal so they align well. */
input, textarea, button
{
   color: #000000;
   font-family: verdana, sans-serif;
}
input, button
{
   font-size: 90%;
}

textarea
{
   font-size: 100%;
   color: #000000;
   font-family: verdana, sans-serif;
}

/* All input elements that are checkboxes or radio buttons. */
input.check
{
}

/* Selects are a bit smaller, because it makes them look even better 8). */
select
{
   font-size: 90%;
   font-weight: normal;
   color: #000000;
   font-family: verdana, sans-serif;
}

/* Standard horizontal rule.. (
, etc.) */
hr, .hrcolor
{
   height: 1px;
   border: 0;
   color: #000066;
   background-color: #666666;
}

/* No image should have a border when linked */
a img{
border: 0;
}
/* A quote, perhaps from another post. */
.quote
{
   color: #000000;
   background-color: #D7DAEC;
   border: 1px solid #000000;
   margin: 1px;
   padding: 1px;
   font-size: x-small;
   line-height: 1.4em;
}

/* A code block - maybe even PHP ;). */
.code
{
   color: #000000;
   background-color: #dddddd;
   font-family: "courier new", "times new roman", monospace;
   font-size: x-small;
   line-height: 1.3em;
   /* Put a nice border around it. */
   border: 1px solid #000000;
   margin: 1px auto 1px auto;
   padding: 1px;
   width: 99%;
   /* Don't wrap its contents, and show scrollbars. */
   white-space: nowrap;
   overflow: auto;
   /* Stop after about 24 lines, and just show a scrollbar. */
   max-height: 24em;
}

/* The "Quote:" and "Code:" header parts... */
.quoteheader, .codeheader
{
   color: #000000;
   text-decoration: none;
   font-style: normal;
   font-weight: bold;
   font-size: x-small;
   line-height: 1.2em;
}

/* Generally, those [?] icons.  This makes your cursor a help icon. */
.help
{
   cursor: help;
}

/* /me uses this a lot. (emote, try typing /me in a post.) */
.meaction
{
   color: red;
}

/* The main post box - this makes it as wide as possible. */
.editor
{
   width: 96%;
}

/* Highlighted text - such as search results. */
.highlight
{
   background-color: yellow;
   font-weight: bold;
   color: black;
}

/* Alternating backgrounds for posts, and several other sections of the forum. */
.windowbg
{
   color: #000000;
   background-color: #FFFFCC;
}
.windowbg2
{
   color: #000000;
   background-color: #FFFFCC;
}
.windowbg3
{
   color: #000000;
   background-color: #E0E1E8;
}
/* the today container in calendar */
.calendar_today
{
   background-color: #FFFFFF;
}

/* These are used primarily for titles, but also for headers (the row that says what everything in the table is.) */
.titlebg, tr.titlebg th, tr.titlebg td, .titlebg2, tr.titlebg2 th, tr.titlebg2 td
{
   color: #00FFFF;
   font-style: normal;
   background-color: #000066;
   border-bottom: solid px #FFFF00;
   border-top: solid px #FFFF00;
   border-right: solid px #FFFF00;
   border-left: solid px #FFFF00;
   padding-left: 10px;
   padding-right: 10px;
}
.titlebg, .titlebg a:link, .titlebg a:visited
{
   font-weight: bold;
   color: #00FFFF;
   font-style: normal;
}

.titlebg a:hover
{
   color: #00ff00;
}
/* same as titlebg, but used where bold text is not needed */
.titlebg2 a:link, .titlebg2 a:visited
{
   color: #00FFFF;
   font-style: normal;
   text-decoration: underline;
}

.titlebg2 a:hover
{
   text-decoration: underline;
}

/* This is used for categories, page indexes, and several other areas in the forum.
.catbg and .catbg2 is for boardindex, while .catbg3 is for messageindex and display headers*/
.catbg , tr.catbg td , .catbg3 , tr.catbg3 td
{
   background-color: #000066;
   color: #00FFFF;
   border-bottom: solid px #FFFF00;
   border-top: solid px #FFFF00;
   border-right: solid px #FFFF00;
   border-left: solid px #FFFF00;
 
   padding-left:20px;
   padding-right:80px;
}
.catbg2 , tr.catbg2 td
{
   background-color: #000066;
   color: #ffffff;
   padding-left: 10px;
   padding-right: 10px;
}
.catbg, .catbg2, .catbg3
{
   border-bottom: solid 1px #375576;
}
.catbg, .catbg2
{
   font-weight: bold;
}
.catbg3, tr.catbg3 td, .catbg3 a:link, .catbg3 a:visited
{
   font-size: 95%;
   color: #00FFFF;
   text-decoration: none;
}
.catbg a:link, .catbg a:visited , .catbg2 a:link, .catbg2 a:visited
{
   color: #00FFFF;
   text-decoration: none;
}
.catbg a:hover, .catbg2 a:hover, .catbg3 a:hover
{
   color: #e0e0ff;
}
/* This is used for tables that have a grid/border background color (such as the topic listing.) */
.bordercolor
{
   background-color: #ADADAD;
   padding: 0px;
}

/* This is used on tables that should just have a border around them. */
.tborder
{
   padding: 1px;
   border: 1px solid #696969;
   background-color: #FFFFFF;
}

/* Default font sizes: small (8pt), normal (10pt), and large (14pt). */
.smalltext
{
   font-size: x-small;
   font-family: verdana, sans-serif;
}
.middletext
{
   font-size: 90%;
}
.normaltext
{
   font-size: small;
}
.largetext
{
   font-size: large;
}


/* Posts and personal messages displayed throughout the forum. */
.post, .personalmessage
{
   width: 100%;
   overflow: auto;
   line-height: 1.3em;
}

/* All the signatures used in the forum.  If your forum users use Mozilla, Opera, or Safari, you might add max-height here ;). */
.signature
{
   width: 100%;
   overflow: auto;
   padding-bottom: 3px;
   line-height: 1.3em;
}

/* Sometimes there will be an error when you post */
.error{
   color: red;
}


/* definitions for the main tab, active means the tab reflects which page is displayed */
.maintab_first, .maintab_back, .maintab_last, .maintab_active_first, .maintab_active_back, .maintab_active_last
{
   color: white;
   text-transform: uppercase;
   vertical-align: top;
}
.maintab_back, .maintab_active_back
{
   color: white;
   text-decoration: none;
   font-size:  9px;
   vertical-align: top;
   padding: 2px 6px 6px 6px;
   font-family: tahoma, sans-serif;
}

.maintab_first
{
    background-color: #000066;
   width: 10px;
}
.maintab_back
{
   background-color: #000066;
}
.maintab_last
{
    background-color: #000066;

   width: 8px;
}
.maintab_active_first
{
    background-color: #000066;
   width: 6px;
}
.maintab_active_back
{
   background-color: #000066;
}
.maintab_active_last
{
    background-color: #000066;
   width: 8px;
}

/* how links behave in main tab. */
.maintab_back a:link , .maintab_back a:visited, .maintab_active_back a:link , .maintab_active_back a:visited
{
   color: #00FFFF;
   text-decoration: none;
}

.maintab_back a:hover, .maintab_active_back a:hover
{
   color: #00ff00;
   text-decoration: none;
}
/* definitions for the mirror tab */
.mirrortab_first, .mirrortab_back, .mirrortab_last, .mirrortab_active_first, .mirrortab_active_back, .mirrortab_active_last
{
   color: white;
   text-transform: uppercase;
   vertical-align: top;
}
.mirrortab_back, .mirrortab_active_back
{
   color: white;
   text-decoration: none;
   font-size: 9px;
   vertical-align: bottom;
   padding: 6px 6px 2px 6px;
   font-family: tahoma, sans-serif;
}

.mirrortab_first
{
    background-color: #000066;
   width: 10px;
}
.mirrortab_back
{
    background-color: #000066;

}
.mirrortab_last
{
    background-color: #000066;
   width: 6px;
}
.mirrortab_active_first
{
    background-color: #000066;
   width: 6px;
}
.mirrortab_active_back
{
    background-color: #000066;
}
.mirrortab_active_last
{
    background-color: #000066;
   width: 8px;
}

/* how links behave in mirror tab. */
.mirrortab_back a:link , .mirrortab_back a:visited, .mirrortab_active_back a:link , .mirrortab_active_back a:visited
{
   color: #00FFFF;
   text-decoration: none;
}

.mirrortab_back a:hover, .mirrortab_active_back a:hover
{
   color: #00ff00;
   text-decoration: none;
}

/* The AJAX notifier */
#ajax_in_progress
{
   background: #32CD32;
   color: white;
   text-align: center;
   font-weight: bold;
   font-size: 18pt;
   padding: 3px;
   width: 100%;
   position: fixed;
   top: 0;
   left: 0;
}
G.C. SOLUTIONS - Hosting Quality Sites Since 2006. Experience Your Forums On A Whole New Level
Elastic Sites Stress Fast CPU/Ram Upgrades- More Info Here.
Reviews By SMF Forum Owners - Read Our Rev

tumbleweed

Since a solution for this has not been found.

Can any one tell me how to take all the info out of the box and just leave the drop down box.
G.C. SOLUTIONS - Hosting Quality Sites Since 2006. Experience Your Forums On A Whole New Level
Elastic Sites Stress Fast CPU/Ram Upgrades- More Info Here.
Reviews By SMF Forum Owners - Read Our Rev

matera

Sorry, I've been kind of distracted... drat, something must be overriding it. Have you tried adding !important to the color? -
color:#00FFFF !important;

I always hate "shouting" like that, but sometimes it tips the balance.

This is similar to a problem I had once with the catbg classes, but that was fixed by adding a td or two. [I'm not using Tinyportal, either, so I don't know if that can monkeywrench it. Prob not...] It would take some careful digging in the PHP to get the text out. I wish I could be more helpful, but I have no themes with that part going against the default body font color. I think that is your main obstacle.

Advertisement: