Results 1 to 9 of 9
  1. #1
    Join Date
    Mar 2009
    Posts
    25
    Plugin Contributions
    0

    Default Different link-color on body

    I'm developing my CSS stylesheet and I have a big problem with my links color. I want my categories links have a different color than my body links. I don't know if I'm explaining well, you can have a look here: http://www.tucachimba.es/tienda/inde..._page=site_map

    Any ideas? I tried to define a new class on my stylesheet like #siteMapMainContent a:link {
    color: #000000;
    }

    but it doesn't appear to work.

    Thanks in advance!!

  2. #2
    Join Date
    Apr 2006
    Location
    Ohio
    Posts
    6,162
    Plugin Contributions
    0

    Default Re: Different link-color on body

    Quote Originally Posted by jofera View Post
    I'm developing my CSS stylesheet and I have a big problem with my links color. I want my categories links have a different color than my body links. I don't know if I'm explaining well, you can have a look here: http://www.tucachimba.es/tienda/inde..._page=site_map

    Any ideas? I tried to define a new class on my stylesheet like #siteMapMainContent a:link {
    color: #000000;
    }

    but it doesn't appear to work.

    Thanks in advance!!
    Jo,
    Locate this:
    includes/templates/tucachimba_Theroom10/css/stylesheet.css

    Add this:
    #siteMapList li a {color: #000000;}
    Mark
    Hare Do

  3. #3
    Join Date
    Mar 2009
    Posts
    25
    Plugin Contributions
    0

    Default Re: Different link-color on body

    Thanks, haredo, and how I could have a color for the links of the left-column and another different color for the entire page links?

  4. #4
    Join Date
    Apr 2006
    Location
    Ohio
    Posts
    6,162
    Plugin Contributions
    0

    Default Re: Different link-color on body

    Jo,
    a:link, #navEZPagesTOC ul li a {

    color:#FFFFFF;
    text-decoration:none;
    }

    1. The highlighted red font above will be the color change..
    2. Take time and research for Moxilla Firefox browser, and download the add on called Firebug and Web developer
    3. A free killer helpful tools to build and maintain your web site..
    Mark
    Hare Do

  5. #5
    Join Date
    Mar 2009
    Posts
    25
    Plugin Contributions
    0

    Default Re: Different link-color on body

    That's how I was doing until now, but I only want to change my left side column links and not all links

  6. #6
    Join Date
    Apr 2006
    Location
    Ohio
    Posts
    6,162
    Plugin Contributions
    0

    Default Re: Different link-color on body

    Quote Originally Posted by jofera View Post
    That's how I was doing until now, but I only want to change my left side column links and not all links
    Jo,
    Try this please:
    Add this to the bottom of the stylesheet.css

    a.category-top, a.category-links, #searchContent a, #informationContent a, #moreinformation a {color: #000000;}
    Mark
    Hare Do

  7. #7
    Join Date
    Mar 2009
    Posts
    25
    Plugin Contributions
    0

    Default Re: Different link-color on body

    That works fine on FF, but I just tried on IE and when I make click over "Cancelar la suscripción a las noticias" some links of category box turn blank color. What's wrong? I've added this too to my CSS stylesheet:

    a.category-top:hover, a.category-links:hover, #searchContent a:hover, #informationContent a:hover, #moreinformation a:hover {
    color: #FF0000;
    }

    Thanks a lot!!

  8. #8
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: Different link-color on body

    it works fine in IE 6.. and this is the IE with tons of Bugs .. you may need to clear your browser catch so you can see new CSS changes.

  9. #9
    Join Date
    Apr 2006
    Location
    Ohio
    Posts
    6,162
    Plugin Contributions
    0

    Default Re: Different link-color on body

    Quote Originally Posted by jofera View Post
    That works fine on FF, but I just tried on IE and when I make click over "Cancelar la suscripción a las noticias" some links of category box turn blank color. What's wrong? I've added this too to my CSS stylesheet:

    a.category-top:hover, a.category-links:hover, #searchContent a:hover, #informationContent a:hover, #moreinformation a:hover {
    color: #FF0000;
    }

    Thanks a lot!!
    Jo,
    You are most welcome, glad I could point you in the right direction..

    Nice site by the way, clean, nice color scheme
    Mark
    Hare Do

 

 

Similar Threads

  1. Making my welcome guest link a different color?
    By dudemaaan in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 25 Aug 2010, 10:35 AM
  2. NavMain Link Color Different In IE
    By Cris in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 6 Dec 2009, 09:11 PM
  3. Different body background color for each category page
    By JE2009 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 15 Aug 2009, 04:05 AM
  4. change color of sub-category link in main body
    By nwsp in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 31 May 2007, 01:44 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR