Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

changing text style in catalog box


manuva

Recommended Posts

I'm strugling to change the text colour of the links in the catalog box (and other box's) without effecting all the other links in the body of my site.

 

I'm changing the values in stylesheet.css

 

Why is it that these two styles:

 

A.headerNavigation

A.headerNavigation:hover

 

effect the header text (ie. they overide the settings for A and A:hover)

 

however if i define a new style called A.boxText and A.boxText

Link to comment
Share on other sites

I set them in my stylesheet.css file like this, and it works for me:

 

.boxText a:link
     {
     color: #7300d6;
     background-color: transparent;
     text-decoration: none;
     }

.boxText a:visited
     {
     color: #7300d6;
     background-color: transparent;
     text-decoration: none;
     }

.boxText a:hover
     {
     color: #7300d6;
     background-color: transparent;
     text-decoration: underline;
     }

 

HTH,

 

Terry

Terry Kluytmans

 

Contribs Installed: Purchase Without Account (PWA); Big Images, Product Availability, Description in Product Listing, Graphical Infobox, Header Tags Controller, Login Box, Option Type Feature, plus many layout changes & other mods of my own, like:

 

Add order total to checkout_shipment

Add order total to checkout_payment

Add radio buttons at checkout_shipping (for backorder options, etc.)

Duplicate Table Rate Shipping Module

Better Product Review Flow

 

* If at first you don't succeed, find out if there's a prize for the loser. *

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...