ace Posted July 15, 2005 Report Share Posted July 15, 2005 Hallo, ich m?chte die Textfarbe in der account_history_info ?ndern. Bei der manuellen Anpassung in der account_histoy_info.html wird nur ein Teil der gew?nschten Farbeinstellung ?bernommen. Nun bin ich davon ausgegangen das der gew?nschte Farbwert in der .css eingestellt wird - doch irgendwie finde ich nicht die entsprechende Zeile. Weiss jemand Rat? Dank&Gruss Link to comment Share on other sites More sharing options...
dontech Posted July 16, 2005 Report Share Posted July 16, 2005 Probier mal in der CSS TD.main, P.main { font-family: Verdana, Arial, sans-serif; font-size: 11px; line-height: 1.5; } in TD.main, P.main { font-family: Verdana, Arial, sans-serif; font-size: 11px; line-height: 1.5; color: #FF000; } was dann passiert Link to comment Share on other sites More sharing options...
ace Posted July 16, 2005 Author Report Share Posted July 16, 2005 Hi! Das hatte ich auch schon probiert.. Allerdings ?ndert sich dann nicht nur die Textfarbe in der account_history_info sondern auch gleich an mehreren Stellen im Shop - was es ja nicht soll! ??? Link to comment Share on other sites More sharing options...
dontech Posted July 16, 2005 Report Share Posted July 16, 2005 Dann gib doch in der CSS einfach eine neue Variable z.B. .mainacc { font-family: Verdana, Arial, sans-serif; font-size: 11px; line-height: 1.5; color:#FF0000; } und ?nderst in der HTML <td style="border-top: 1px solid; border-color: #cccccc;" class="main"> in <td style="border-top: 1px solid; border-color: #cccccc;" class="mainacc"> Dann m?sste es gehen Link to comment Share on other sites More sharing options...
ace Posted July 16, 2005 Author Report Share Posted July 16, 2005 Das hatte ich auch schon versucht: .perchant { font-family: Verdana, Arial, sans-serif; font-size: 11px; line-height: 1.5; color: #000000; Ich habe in der .css entsprechend den neuen Stil eingegeben und bei dem entsprechenden Eintrag in der account_history_info.html ({$PRODUCTS_BLOCK} auf den neuen Stil in der .css verwiesen. Doch leider ohne Erfolg - augenscheinlich bleibt alles beim alten und der neue Stil wird 'ignoriert'..! :laugh: Link to comment Share on other sites More sharing options...
dontech Posted July 16, 2005 Report Share Posted July 16, 2005 Du hast also <td class="main">{$PRODUCTS_BLOCK}</td> in <td class="perchant">{$PRODUCTS_BLOCK}</td> ge?ndert und er ignoriert das ? Link to comment Share on other sites More sharing options...
polkhigh33 Posted July 16, 2005 Report Share Posted July 16, 2005 <td style="border-top: 1px solid; border-color: #cccccc;" class="mainacc"> dann muss der eintrag in die css so lautenTD.mainacc { font-family: Verdana, Arial, sans-serif; font-size: 11px; line-height: 1.5; color: #000000;} dann funtzs auch mit den styles. Link to comment Share on other sites More sharing options...
dontech Posted July 16, 2005 Report Share Posted July 16, 2005 Zum Gl?ck ist die Fachkompetenz auch am WE da !!! :biggrin: :smile: Link to comment Share on other sites More sharing options...
ace Posted July 16, 2005 Author Report Share Posted July 16, 2005 Also ich habe jetzt folgendes in der .css stehen: TD.perchant {font-family: Verdana, Arial, sans-serif; font-size: 11px; line-height: 1.5; color: #000000} und folgendes in der account_history_info.html: <td class="main"><font color="#000000" size="1" face="Verdana, Arial, Helvetica, sans-serif" class="perchant">{$PRODUCTS_BLOCK}</font></td> Die gew?nschte andre Schriftfarbe bleibt jeodch immer noch aus... ??? Link to comment Share on other sites More sharing options...
dontech Posted July 16, 2005 Report Share Posted July 16, 2005 du m?sstest in der <td class=main> das main durch perchant ersetzen. Dann sollte es funktionieren Link to comment Share on other sites More sharing options...
ace Posted July 16, 2005 Author Report Share Posted July 16, 2005 hmm.. leider nicht :sad: Ich habe jetzt auch mal testweise ALLE Verweise von 'main' innerhlab der account_history_info auf perchant ge?ndert. Das interessante dabei ist: Es werden alle Schriftzeichen wunschgem?? ge?ndert, jedoch nur die Bl?cke HISTORY_BLOCK, PRODUCTS_BLOCK und TOTAL_BLOCK ?ndern nicht Ihre Farbe.. Langsam wei? ich auch nicht mehr wo ich suchen soll..! Ich habe das Gef?hl irgendein anderer Eintrag in der .css '?bersteuert' das. Weil meine Grundfarbe f?r Schrift im Shop ist wei? und gerade diese drei Bl?cke bleiben auch wei?..?!?? Link to comment Share on other sites More sharing options...
dontech Posted July 16, 2005 Report Share Posted July 16, 2005 kannst du bitte nochmal den Code um den Block posten ? Link to comment Share on other sites More sharing options...
ace Posted July 16, 2005 Author Report Share Posted July 16, 2005 Hier poste ich jetzt mal meine komplette .css: /* ----------------------------------------------------------------------------------------- $Id: stylesheet.css,v 1.2 2004/01/25 12:01:17 fanta2k Exp $ XT-Commerce - community made shopping [url=http://www.xt-commerce.com]http://www.xt-commerce.com[/url] Copyright ? 2003 XT-Commerce ----------------------------------------------------------------------------------------- based on: ? 2000-2001 The Exchange Project (earlier name of osCommerce) ? 2002-2003 osCommerce(stylesheet.css,v 1.54 2003/05/27); [url]www.oscommerce.com[/url] ? 2003 nextcommerce (stylesheet.css,v 1.7 2003/08/13); [url]www.nextcommerce.org[/url] Released under the GNU General Public License ---------------------------------------------------------------------------------------*/ .boxText { font-family: Verdana, Arial, sans-serif; font-size: 10px; } .errorBox { font-family : Verdana, Arial, sans-serif; font-size : 10px; background: #454547; font-weight: bold; } .stockWarning { font-family : Verdana, Arial, sans-serif; font-size : 10px; color: #FF0000; } .productsNotifications { background: #454547; } .orderEdit { font-family : Verdana, Arial, sans-serif; font-size : 10px; color: #70d250; text-decoration: underline; } BODY { background: #1A1A1A; color: #FFFFFF; margin: 0px; } A { color: #FFFFFF; text-decoration: none; } A:hover { color: #FF0000; text-decoration: none; } FORM { display: inline; } TR.header { color: #2D2D2D } TR.headerNavigation { background: #454547; } TD.headerNavigation { font-family: Verdana, Arial, sans-serif; font-size: 10px; background-image: url(img/bg.jpg); color: #FFFFFF; font-weight:; } TD.topNavigation { font-family: Verdana, Arial, sans-serif; font-size: 13px; color: #FFFFFF; font-weight: bold; } A.topNavigation { color: #FFFFFF; } A.topNavigation:hover { color: #FF0000; } A.headerNavigation { color: #FFFFFF; } A.headerNavigation:hover { color: #FF0000; } TR.headerError { background: #FF0000; } TD.headerError { font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 12px; background: #FF0000; color: #FFFFFF; font-weight : bold; text-align : center; } TR.headerInfo { background: #454547; } TD.headerInfo { font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 12px; background: #FF454547; color: #FFFFFF; font-weight: bold; text-align: center; } TR.footer { } TD.footer { font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #FFFFFF; font-weight : bold; } .footer_top { border-top: 0px solid; border-color: #737373; } .infoBox { background-image: url(img/); } .infoBoxContents { background-image: url(img/); font-family: Verdana, Arial, sans-serif; font-size: 10px; } .infoBoxNotice { background: #FF0000; } .infoBoxNoticeContents { background: #737373; font-family: Verdana, Arial, sans-serif; font-size: 10px; } TD.infoBoxHeading { font-family: Verdana, Arial, sans-serif; font-size: 10px; font-weight: bold; background-image: url(img/image_header.jpg); color: #FFFFFF; } TD.infoBox, SPAN.infoBox { font-family: Verdana, Arial, sans-serif; font-size: 10px; } TR.accountHistory-odd, TR.addressBook-odd, TR.alsoPurchased-odd, TR.payment-odd, TR.productListing-odd, TR.productReviews-odd, TR.upcomingProducts-odd, TR.shippingOptions-odd { background: #454547; } TR.accountHistory-even, TR.addressBook-even, TR.alsoPurchased-even, TR.payment-even, TR.productListing-even, TR.productReviews-even, TR.upcomingProducts-even, TR.shippingOptions-even { background: #666666; } TABLE.productListing { border: 1px; border-style: solid; border-color: #737373; border-spacing: 1px; } .productListing-heading { font-family: Verdana, Arial, sans-serif; font-size: 10px; background: #737373; color: #FFFFFF; font-weight: bold; } TD.productListing-data { font-family: Verdana, Arial, sans-serif; font-size: 10px; } A.pageResults { color: #FF0000; } A.pageResults:hover { color: #FF0000; background: #737373; } TD.pageHeading, DIV.pageHeading { font-family: Verdana, Arial, sans-serif; font-size: 16px; font-weight: bold; color: #FFFFFF; } TR.subBar { background: #454547; } TD.subBar { font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #FFFFFF; } TD.perchant { font-family: Verdana, Arial, sans-serif; font-size: 11px; color: #000000; line-height: 1.5; } TD.smallText, SPAN.smallText, P.smallText { font-family: Verdana, Arial, sans-serif; font-size: 10px; } TD.accountCategory { font-family: Verdana, Arial, sans-serif; font-size: 13px; color: #FFFFFF; } TD.fieldKey { font-family: Verdana, Arial, sans-serif; font-size: 12px; font-weight: bold; } TD.fieldValue { font-family: Verdana, Arial, sans-serif; font-size: 12px; } TD.tableHeading { font-family: Verdana, Arial, sans-serif; font-size: 12px; font-weight: bold; } SPAN.newItemInCart { font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #FF0000; } CHECKBOX, INPUT, RADIO, SELECT { font-family: Verdana, Arial, sans-serif; font-size: 11px; } TEXTAREA { width: 100%; font-family: Verdana, Arial, sans-serif; font-size: 11px; } SPAN.greetUser { font-family: Verdana, Arial, sans-serif; font-size: 12px; color: #FFFFFF; font-weight: bold; } TABLE.formArea { background: #454547; border-color: #737373; border-style: solid; border-width: 1px; } TD.formAreaTitle { font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 12px; font-weight: bold; } SPAN.markProductOutOfStock { font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 12px; color: #FFFFFF; font-weight: bold; } SPAN.productSpecialPrice { font-family: Verdana, Arial, sans-serif; color: #FF0000; } SPAN.errorText { font-family: Verdana, Arial, sans-serif; color: #FF0000; } SPAN.productDiscountPrice { font-family: Verdana, Arial, sans-serif; color: #FF0000; font-weight: bold; } .moduleRow { } .moduleRowOver { background-color: #454547; cursor: hand; } .moduleRowSelected { background-color: #454547; } .checkoutBarFrom, .checkoutBarTo { font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #FFFFFF; } .checkoutBarCurrent { font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #FFFFFF; } /* message box */ .messageBox { font-family: Verdana, Arial, sans-serif; font-size: 10px; } .messageStackError, .messageStackWarning { font-family: Verdana, Arial, sans-serif; font-size: 10px; background-color: #FF0000; } .messageStackSuccess { font-family: Verdana, Arial, sans-serif; font-size: 10px; background-color: #454547; } /* input requirement */ .inputRequirement { font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #FF0000; } .tableShop { background-color: #2D2D2D; border-left: 1px solid; border-right: 1px solid; border-bottom: 1px solid; border-top: 1px solid; border-color: #737373; } .navLeft { border-right: 0px solid; border-color: #2D2D2D; background-image: url(img/bg_left.jpg); } A:link IMG { border: 0px } A:visited IMG { border: 0px } A:active IMG { border: 0px } .navRight { border-left: 0px solid; border-color: #2D2D2D; background-image: url(img/bg_right.jpg); } .tableBody { padding: 5px; } .poweredby { font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #FFFFFF; font-weight: bold; } Link to comment Share on other sites More sharing options...
ace Posted July 16, 2005 Author Report Share Posted July 16, 2005 Und hier mal meine zur?ck gesetzte account_history_info.html: {config_load file="$language/lang_$language.conf" section="account_history_info"} <font size="3" face="Verdana, Arial, Helvetica, sans-serif"><strong>{#heading_history_info#} </strong></font><br> <br> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="50%"><strong><font size="2" face="Verdana, Arial, Helvetica, sans-serif">{#text_oid#}{$ORDER_NUMBER} ({$ORDER_STATUS})<br> </font></strong><font size="2" face="Verdana, Arial, Helvetica, sans-serif"> <font size="1">{#text_date#} {$ORDER_DATE} </font></font></td> <td class="main"></td> </tr> </table> <br> <strong> </strong> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td style="border-top: 1px solid; border-color: #cccccc;"width="240" class="main"><strong>{#text_shipping_address#}</strong><br> {$DELIVERY_LABEL}</td> <td style="border-top: 1px solid; border-color: #cccccc;" class="main">{if $BILLING_LABEL}<strong>{#text_payment_address#}</strong><br> {$BILLING_LABEL}{/if}</td> </tr> </table> <br> <strong>{#text_shipping_method#} </strong>{$SHIPPING_METHOD} <strong><br> {if $PAYMENT_METHOD}{#text_payment_method#}</strong> {$PAYMENT_METHOD} <br>{/if} <br> {if $ORDER_COMMENTS!=''} <strong>{#text_comments#}</strong> <table width="100%" border="0" cellspacing="0" cellpadding="4"> <tr> <td style="border: 1px solid; border-color: #cccccc;" class="main">{$ORDER_COMMENTS}</td> </tr> </table> {/if} {if $PAYMENT_INFORMATION!=''} <strong>{#text_payment_info#}</strong> <table width="100%" border="0" cellspacing="0" cellpadding="4"> <tr> <td style="border: 1px solid; border-color: #cccccc;" class="main">{$PAYMENT_INFORMATION}</td> </tr> </table> {/if} <strong>{#title_history#}</strong> <table width="100%" border="0" cellspacing="0" cellpadding="4"> <tr> <td style="border: 1px solid; border-color: #cccccc;" class="main">{$HISTORY_BLOCK}</td> </tr> </table> <strong>{#text_products#}</strong> <br> <table width="100%" border="0" cellspacing="0" cellpadding="4"> <tr> <td style="border: 1px solid; border-color: #cccccc;" class="main"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td class="main">{$PRODUCTS_BLOCK}</td> </tr> <tr> <td class="main" style="border-top: 1px solid; border-color: #cccccc;" ><div align="right">{$TOTAL_BLOCK}</div></td> </tr> </table></td> </tr> </table> <div align="right"><br> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td class="main"><span class="main"><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong> {#title_print#} </strong></font><br> {#text_print#} <br> {$BUTTON_PRINT} </span></td> <td align="right" valign="top">{$BUTTON_BACK}</td> </tr> </table> <br> </div> Link to comment Share on other sites More sharing options...
dontech Posted July 16, 2005 Report Share Posted July 16, 2005 Meiner Meinung nach m?sstes du <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td class="main">{$PRODUCTS_BLOCK}</td> </tr> <tr> <td class="main" style="border-top: 1px solid; border-color: #cccccc;" ><div align="right">{$TOTAL_BLOCK}</div></td> </tr> </table> in <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td class="perchant">{$PRODUCTS_BLOCK}</td> </tr> <tr> <td class="perchant" style="border-top: 1px solid; border-color: #cccccc;" ><div align="right">{$TOTAL_BLOCK}</div></td> </tr> </table></ ?ndern. Dann sollte es richtig sein Link to comment Share on other sites More sharing options...
ace Posted July 16, 2005 Author Report Share Posted July 16, 2005 LEIDER LEIDER nicht... Laut der TD.perchant soll die Schrift ja schwarz sein (#000000) - sie ist aber immer noch wei?! :sad: Link to comment Share on other sites More sharing options...
dontech Posted July 16, 2005 Report Share Posted July 16, 2005 Und wenn es das letzte ist was wir tun ... Leg in der CSS mal perchant { color: #000000; } an. Dann ?ndere die <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td class="main">{$PRODUCTS_BLOCK}</td> </tr> <tr> <td class="main" style="border-top: 1px solid; border-color: #cccccc;" ><div align="right">{$TOTAL_BLOCK}</div></td> </tr> </table> in <table width="100%" border="0" cellspacing="0" cellpadding="0" class=perchant> <tr> <td class="perchant"><p class=perchant>{$PRODUCTS_BLOCK}</p></td> </tr> <tr> <td class="perchant" style="border-top: 1px solid; border-color: #cccccc;" ><div align="right">{$TOTAL_BLOCK}</div></td> </tr> </table> Wenn das auch nicht hilft dann weiss ich auch nicht mehr weiter Link to comment Share on other sites More sharing options...
ace Posted July 16, 2005 Author Report Share Posted July 16, 2005 Habe es ge?ndert: <table width="100%" border="0" cellspacing="0" cellpadding="0" class=perchant> <tr> <td class="perchant"><p class=perchant>{$PRODUCTS_BLOCK}</p></td> </tr> <tr> <td class="perchant" style="border-top: 1px solid; border-color: #cccccc;" ><div align="right">{$TOTAL_BLOCK}</div></td> </tr> </table></td> Leider immer noch keine Ergebnis - dennoch vielen Dank dontech!!! Link to comment Share on other sites More sharing options...
chpohl Posted July 16, 2005 Report Share Posted July 16, 2005 nur mal so nebenbei gefragt: Hast du den Cache geleert zwischendurch? Auch mal den Ordner templates_c? Link to comment Share on other sites More sharing options...
ace Posted July 16, 2005 Author Report Share Posted July 16, 2005 Habe beides gerade ?berpr?ft.. Der cache-Ordner war leer und den templates_c Ordner habe ich geleert und die Seite entsprechend neu geladen - wieder keine Ver?nderung! Gibt es denn keine M?glichkeit die account_histoy-info unabh?ngig von einem Stylesheet zu laden?! Ich meine ich will doch nur eine andere Schriftfarbe einstellen ... das gibts doch nicht!!!??? Link to comment Share on other sites More sharing options...
chpohl Posted July 16, 2005 Report Share Posted July 16, 2005 Knall die Farbe mit einem WYSIWYG Editor dr?ber. Das funzt auf jeden Fall. Link to comment Share on other sites More sharing options...
ace Posted July 16, 2005 Author Report Share Posted July 16, 2005 ES MUSS.. irgendetwas mit dem Block zu tun haben! Wenn ich ein kleines 'test' in html hinter den Block in schwarz schreibe, wieder dieser auch sonderbarer Weise korrekt in schwarz dargestellt - wieso dann nicht auch der Block ??? :sad: Link to comment Share on other sites More sharing options...
ace Posted July 16, 2005 Author Report Share Posted July 16, 2005 Du meinst beispielsweise Dreamweaver?! Habe ich ja schon versucht..! Passiert nix! Link to comment Share on other sites More sharing options...
chpohl Posted July 16, 2005 Report Share Posted July 16, 2005 Deine Idee war richtig. Es hat was mit dem Block zu tun. Guckmal in die account_history_info.php, da wird ?berall die class=main aufgerufen. Link to comment Share on other sites More sharing options...
ace Posted July 16, 2005 Author Report Share Posted July 16, 2005 AAAaaargh! DAS WARS! :tongue: Da muss man aber auch erstmal drauf kommen...!! Wo es doch immer heisst 'gute Anpassbarkeit durch Template-System' - da suche ich nat?rlich auch nur im Template..! Vielen vielen Dank euch allen!!! Und ein sch?nes Rest-WE! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.