Loading...

Link Color

We no longer maintain the Knowledge Base since version 4.3.x. All the latest user and developer documentation for 4.3.x and newer versions is now available at docs.cs-cart.com.

  • This article applies to CS-Cart versions:
  • 3.0.x

All modifications are performed via the My Changes add-on

Links can be assigned with any RGB-format color (use any color picker to get the RGB-code of the desired color).

In order to change link color modify the respecting selector:

  • Ordinary not visited links:
    1
    2
    3
    
    a:link {
    	color: #XXXXXX
    }
  • Visited links. The linked pages are usually saved in browser history:
    1
    2
    3
    
    a:visited {
    	color: #XXXXXX
    }

     

  • Links under mouse cursor:
    1
    2
    3
    
    a:hover {
    	color: #XXXXXX
    }

     

  • Links being clicked:
    1
    2
    3
    
    a:active {
    	color: #XXXXXX
    }

     

It is recommended to define link colors in the order they are listed above. Stick to the 'LoVe-HAte' rule — Link, Visited, Hover, Active