Uutiset:

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

Main Menu
Advertisement:

Schriftfarbe ändern

Aloittaja Nightwish_76, maaliskuu 05, 2008, 10:19:58 AP

« edellinen - seuraava »

Nightwish_76

Hallo,
wo müsste ich schaun bzw. was tun, um die Schriftfarbe der Überschrift einer Kategorie zu ändern?
Hab in der style.css des Themas schon geschaut, finde aber keine Zeile, wo man den Hex Wert für die Schriftfarbe verändern könnte. (Wenn das überhaupt so geht)
(Schrift über der Kategorie ist weiß und ich möchte sie in schwarz haben)
Alles andere sollte so bleiben, wie es ist von der Farbe her.
Thanks!

Dom

Am besten ist, du schaust einmal hier vorbei.


mfg Dom :)
Ich benutze SMF 1.1.8  mit MKPortal M1.1.2b zusammen.

www.soessen.de.vu

Nightwish_76

GENAU da liegt der Hund begraben :-)
Ich möchte halt nur die Schriftfarbe der Kategorie-Übeschriften ändern.
Ich bin mal im Admin-Center rein und ins aktuelle Theme und hab "Editiere Theme --> style.css" gemacht.
Dieses css sieht bei mir so aus:

/* Dilber Theme*/
.maindiv
{
   margin-top: 0px;
   margin-right: auto;
   margin-left: auto;
}
.mainpage
{
   padding-top:25px;
}

.topbar
{
   margin: 0px;
}

.topbar2
{
   margin: 0px;
}
.menubar
{
   width: 100%;
   height: 30px;
}
.menubg , tr.menubg td
{
   margin: 0px;
   font-size: 80%;
   font-weight:bold;
   text-transform: uppercase;
}

.menubg2 , tr.menubg2 td
{
   margin: 0px;
   font-size: 80%;
   font-weight:bold;
   text-transform: uppercase;
}
.menubg a:link, .menubg a:visited , .menubg2 a:link, .menubg2 a:visited
{
   text-decoration: none;
}
.menubg a:hover, .menubg2 a:hover
{
   text-decoration: none;
}

.memberbardiv
{
   width: 93%;
   padding: 10px 0px 10px 0px;
   margin-left:auto;
   margin-right: auto;
}
.memberbardivbottom
{
   height: 15px;
}

.memberbar, tr.memberbar td
{
}
.memberbar a:link, .memberbar a:visited
{
   text-decoration: none;
}
.memberbar a:hover
{
}


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

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

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

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

/* The main body of the entire forum. */
body
{
   margin: 0px;
   padding: 0px;
}

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

textarea
{
   font-size: 100%;
   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;
   font-family: verdana, sans-serif;
}

/* Standard horizontal rule.. (
, etc.) */
hr, .hrcolor
{
   height: 1px;
   border: 0;
}

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

/* A code block - maybe even PHP ;). */
.code
{
   font-family: "courier new", "times new roman", monospace;
   font-size: 90%;
   line-height: 1.3em;
   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
{
   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
{
}

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

/* Highlighted text - such as search results. */
.highlight
{
   font-weight: bold;
}
/* The new icon */

.newicon a:link, .newicon a:visited
{
        padding: 0px 2px 0px 2px;
        margin: 2px;
        font-weight: bold;
        font-size: 8px;
        text-transform: lowercase;
}

.newicon a:hover
{
        text-decoration: none;
}

/* Alternating backgrounds for posts, and several other sections of the forum. */
.windowbg
{
}
.windowbg2
{
}
.windowbg3
{
}
/* the today container in calendar */
.calendar_today
{
}

/* 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
{
   font-style: normal;
   padding-left: 10px;
   padding-right: 10px;
   background-repeat: repeat-x;
}
.titlebg, .titlebg a:link, .titlebg a:visited
{
   font-weight: bold;
   font-style: normal;
}

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

.titlebg2 a:hover
{
   text-decoration: underline;
}
.titlebg3, tr.titlebg3 th, tr.titlebg3 td
{
   font-style: normal;
   font-size:85%;
   padding-top: 3px;
   padding-bottom: 3px;   
   border: 0px;
}

/* 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
{
   padding-left: 10px;
   padding-right: 10px;
}
.catbg2 , tr.catbg2 td
{
   padding-left: 10px;
   padding-right: 10px;
}
.catbg, .catbg2, .catbg3
{
}
.catbg, .catbg2
{
   font-weight: bold;
}
.catbg3, tr.catbg3 td, .catbg3 a:link, .catbg3 a:visited
{
   font-size: 90%;
   text-decoration: none;
   font-weight: bold;
}
.catbg a:link, .catbg a:visited , .catbg2 a:link, .catbg2 a:visited
{
   text-decoration: none;
}
.catbg a:hover, .catbg2 a:hover, .catbg3 a:hover
{
}
/* This is used for tables that have a grid/border background color (such as the topic listing.) */
.bordercolor
{
   padding: 0px;
}

/* This is used on tables that should just have a border around them. */
.tborder
{
   padding: 1px;
}

/* Default font sizes: small (8pt), normal (10pt), and large (14pt). */
.smalltext
{
   font-size: x-small;
   font-family: verdana, sans-serif;
}
.middletext
{
   font-size: 85%;
}
.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{
}


/* 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
{
   background-position: left bottom;
   text-transform: uppercase;
   vertical-align: top;

}
.maintab_back, .maintab_active_back
{
   text-decoration: none;
   font-size:  9px;
   vertical-align: top;
   padding: 2px 6px 6px 6px;
   font-family: tahoma, sans-serif;
}

.maintab_first
{
   width: 10px;
   background-repeat: no-repeat;
}
.maintab_back
{
   background-repeat: repeat-x;
}
.maintab_last
{
   width: 10px;
   background-repeat: no-repeat;   
}
.maintab_active_first
{
   background-repeat: no-repeat;
   width: 6px;
}
.maintab_active_back
{
   background-repeat: repeat-x;
}
.maintab_active_last
{
   width: 8px;
   background-repeat: no-repeat;
}

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

.maintab_back a:hover, .maintab_active_back a:hover
{
   text-decoration: none;
}
/* definitions for the mirror tab */
.mirrortab_first, .mirrortab_back, .mirrortab_last, .mirrortab_active_first, .mirrortab_active_back, .mirrortab_active_last
{
   background-position: left top;
   text-transform: uppercase;
   vertical-align: top;

}
.mirrortab_back, .mirrortab_active_back
{
   text-decoration: none;
   font-size: 9px;
   vertical-align: bottom;
   padding: 6px 6px 2px 6px;
   font-family: tahoma, sans-serif;
}

.mirrortab_first
{
   background-repeat: no-repeat;
   width: 10px;
}
.mirrortab_back
{
   background-repeat: repeat-x;
}
.mirrortab_last
{
   background-repeat: no-repeat;
   width: 6px;
}
.mirrortab_active_first
{
   background-repeat: no-repeat;
   width: 6px;
}
.mirrortab_active_back
{
   background-repeat: repeat-x;
}
.mirrortab_active_last
{
   background-repeat: no-repeat;
   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
{
   text-decoration: none;
}

.mirrortab_back a:hover, .mirrortab_active_back a:hover
{
   text-decoration: none;
}

.mainstrip, .mainstrip_first, .mainstrip_last
{
   background-position: left bottom;
   text-transform: uppercase;
   text-decoration: none;
   font-size:  10px;
   height: 30px;   
   vertical-align: middle;
   font-weight: bold;
   font-family: tahoma, sans-serif;
}
.mainstrip_first
{
   width: 10px;
   padding: 0px;
}
.mainstrip_last
{
   width: 10px;
   padding: 0px;
}
.mainstrip
{
   padding: 0px 7px 0px 7px;   
}
.mainstrip a:link , .mainstrip a:visited
{
   text-decoration: none;
}

.mainstrip a:hover, .mainstrip a:hover
{
   text-decoration: none;
}

/* The AJAX notifier */
#ajax_in_progress
{
   text-align: center;
   font-weight: bold;
   font-size: 16pt;
   font-family: "Trebuchet MS", verdana, arial;
   padding: 3px;
   width: 100%;
   position: fixed;
   top: 0;
   left: 0;
}


Nur WO kann ich hier denn die Schriftfarbe jetz ändern?   :o
Nach genanntem Link müsste es doch "Category Background Text Color" oder so heißen, wo man es dann ändert?

Monika1

Hallo,

versuche es mal damit:

http://custom.simplemachines.org/mods/index.php?mod=1030

welche Änderungen du am Dilber vornehmen musst, kannst du dann ganz leicht hier: http://parser.smfportal.de/

nachprüfen.

Hoffe es hilft

Sei lieb gegrüßt
Monika
Es wird immer Menschen geben die Hilfe benötigen, also packt an und hilft mit !
SMF 1.1.4 u. MKPortal C RC1 / http://www.sozialer-brennpunkt.de / http://www.arbeitslosen-info-portal.de

Dom

Ein Link zu deinen Forum wäre nicht schlecht, um zu sehen, was für themes du benutzt.
In der style.ccs ist ja keine einzige Textfarbe(schnell mal überflogen) zu sehen.
textcolor ist schon der richtige befehl dazu, aber frag mich bitte nicht wo hin, ich habe mich schon etwas länger damit nicht beschäftigt.

mfg Dom :)
Ich benutze SMF 1.1.8  mit MKPortal M1.1.2b zusammen.

www.soessen.de.vu

Nightwish_76

Der erste Link von Monika ist genau richtig!
Wenn man das Paket installiert, isses total einfach, die Farbe der Schrift in Kategorien und Boards zu ändern.
Es ist ne Readme dabei wo alles steht wie es geht. Is wirklich SEHR einfach nach Installation des Pakets.
Dank Euch für die Hilfe!

Advertisement: