Links and CSS

Locked
Results 1 to 3 of 3
This thread is locked. New replies are disabled.
22 Jun 2010, 06:57
#1
mysafetymarket avatar

mysafetymarket

New Zenner

Join Date:
Feb 2008
Posts:
19
Plugin Contributions:
0

Links and CSS

Hello I'm having problems with setting up my links, link, hover, active, and visited state for my side boxes. For the information box I get a hover but no active and for the category box I get a active state but not a hover. Please Help. for the hover #646464, active #646464. Also the shopping cart heading will not line up with all the other side box headings. I know its a link but how do I correct the problem? Link to my site. www.dudleydefense.com
22 Jun 2010, 08:05
#2
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Posts:
10,324
Plugin Contributions:
0

Re: Links and CSS

The fastest way to identify and "tweak" css declarations is to use the Firefox browser and its FIREBUG plugin.

This tool allows you to display a webpage and then do "off-line" analysis and editing. It will (amongst other functions) reveal the style ID and CLASS of any displayed element, and the declarations currently associated with it.

You can then apply an 0ffline edit to the css, and see the result real-time on screen.

All you need then do is commit the changes you made, to the LIVE stylesheet(s).
22 Jun 2010, 09:04
#3
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Posts:
19,793
Plugin Contributions:
2

Re: Links and CSS

#categories a:hover{color:#646464;}

If by active, you mean you expect the links in the Information box to go bold when selected, like in the Categories box, that can't be done in the stylesheet.

Glenn has some code here for the EZPages header listing that I assume can be adapted to the Information links (and will, as soon as I get the time to work on it):

http://www.zen-cart.com/forum/showthread.php?t=157488