PDA

Shop Support News Archive - Shopbetreiber News -> Forum : xt eCommerce Templates Module SEO Support: Templates, Module, Frage: Linkfarbe aendern Für Versandkosten


reinhardt
29.01.2007, 23:16
Ich würde gern den Text incl. 19% UST exkl. Versandkosten in einem grau auf meiner Seite darstellen.

Das ist mir auch halbwegs gelungen, nur der Link "Versandkosten" bleibt schwarz.

In der stylesheet.css habe ich folgendes eingefügt:


.productInfo-price {
**line-height: 150%;
**background-color: #feeecd;
**border: solid 1px #aaa;
**poistion: relative;
**top: 30px;
**left: -30px
}

.productInfo-tax {
**color: gray;
**line-height: 150%;
**poistion: relative;
**top: 30px;
**left: -30px
}

A.productInfo-tax {
****color: gray;
****text-decoration: none;
}


in der Datei product_info_v1.html in meinem Template habe ich folgendes eingefügt:

<td align="right">{$PRODUCTS_PRICE}
{$PRODUCTS_TAX_INFO}{if $PRODUCTS_SHIPPING_LINK}{$PRODUCTS_SHIPPING_LINK}{/if}</td>


Leider bleibt der Link immer schwarz.

Jetzt habe ich auch schon mal in der Datei .../includes/classes/main.php diese Funktion angepasst:

********function getShippingLink() {
********return ' '.SHIPPING_EXCL. Anwalt Hamm'<script language="javascript">document.write(\''.SHIPPING_COSTS.' (java script:newWin=void(window.open(\\\''.xtc_href_link (FILENAME_POPUP_CONTENT, 'coID='.SHIPPING_INFOS).'\\\', \\\'popup\\\', \\\'toolbar=0, scrollbars=yes, resizable=yes, height=400, width=400\\\')))\');</script><noscript>'.SHIPPING_COSTS.' ('.xtc_href_link(FILENAME_POPUP_CONTENT, 'coID='.SHIPPING_INFOS).')</noscript>';
****}


und in der stylesheet.css folgende ergänzt:


.shipping_cost {
**line-height: 150%
**color: gray;
}

A.shipping_cost {
****color: gray;
****text-decoration: none;
}


nur das kann es ja auch nicht sein, weil dann der Link ja überall grau ist.

Das kann man doch bestimmt vernünftig lösen.

crocker
30.01.2007, 07:53
Hallo H-R,

versuch es in der css-Datei mal so:

.productInfo-tax a {...}

Grüße

crocker

nom
30.01.2007, 08:20
Ein Beispiel ..

Link (http://www.meineseite.de)

CSS (Cascading Style Sheets ) CSS
http://de.selfhtml.org/css/ (http://anonym.to/?http://de.selfhtml.org/css/) - Top CSS Einsteiger Seite
http://www.css4you.de/ (http://anonym.to/?http://www.css4you.de/) - CSS Reference
A.meinLink:link,A.meinLink:viisted {
color:#cccccc;
text-decoration:none;}

A.meinLink:hover {
color:#000000;
text-decoration:none;}

reinhardt
30.01.2007, 18:55
''>ZITAT(crocker @ Jan 30 2007, 7:53) 19752
Hallo H-R,

versuch es in der css-Datei mal so:

.productInfo-tax a {...}

Grüße

crocker
[/b]

Super, genau das funktioniert.
Verstehen tue ich es nicht, weil es bei "headerNavigation" anders geht.

jetzt habe ich auch noch .productInfo-tax a:hover {color: gray; text-decoration: unterline; } eingefügt und das funktioniert auch.

Noch mal vielen Dank.