Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Stylesheet CSS hover color issue....specifically the mini-cart box


brenwa

Recommended Posts

Posted

I have edited my stylesheet css file

(on or around line 31 for those of you following at home )

to:

 

 

A:hover {

background: #B0130D;

font-weight: bold;

color: #ffffff;

text-decoration: underline;

}

 

now this is working great... when i hover over a link the text turns white.... I get a nice dark red background.... the white text shows up nicely and the font goes bold

mix that with an increase of text size i did elsewhere and Im quite happy with it.......

 

and now here it comes....funny how this stuff works...there is always that one little annoying exception...

 

the minicart.... (Im not talking about the shopping cart you see when you click cart contents...that works fine)

 

Im talking about the minicart display in the right column ... it looks just fine.......wait for it...........EXCEPT ...if you hover over the items (product names)

in the minicart......only part of the css kicks in..... it does go bold.... it does change to white...but the background of dark red does not happen... and thats a bit of an issue since.... the box background is pretty much white..... so it looks like the item disappears....

 

now have found that minicart box is affected by this bit of the css

 

on about line 226

 

SPAN.newItemInCart {

font-family: Verdana, Arial, sans-serif;

font-size: 10px;

color: #000000;

}

 

normally the color on this is red...but as you can see I have changed it to black.....

 

now begs my problem.... I have played with it a bit.... Im familiar with editing some css...basic color changes kinda thing.....

but what need to do is add the hover color change into this "new item in cart" box....

and im not familiar enough with css to do that.....

 

Im hoping someone can provide me with some quick cut and paste of what it should be to make that work

 

thanks in advance

Posted

one last thing... if its not possible to add a hover background into a "SPAN" (not familiar with css to know if it is or not) anything that would force a color change to black or anything other than white would work....

 

 

 

thanks:)

Archived

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

×
×
  • Create New...