Results 1 to 8 of 8
  1. #1
    Join Date
    Jul 2007
    Location
    UK? US?
    Posts
    118
    Plugin Contributions
    0

    Default CSS help please.

    I am trying to get the links in my categories to replicate the links on my whole page.
    I have tried for the last three hours changing colors one by one to find out the part of the style sheet that is related to this but to no avail.

    I actually added this code...

    .sideBoxContent a:hover{
    color: #008000;
    }

    Which I realised was missing when I compared it to another site I had installed and that fixed the "hover" issue.

    I then added

    .sideBoxContent a:visited{
    color: #000000;
    }

    In the hope of getting the visited link to turn black, just the same as all my other links...this doesnt work....I have run out of options and ideas as I think I have changed every colour code imaginable!!!

    Can anyone direct me to the correct code that needs changing?

    Here is my site h ttp://storerevolution.com

  2. #2
    Join Date
    Sep 2007
    Posts
    219
    Plugin Contributions
    0

    Default Re: CSS help please.

    a.category-top:visited {
    color:#000000;
    }

    you need to remove it from this block though (or place it lower in css sheet)

    PHP Code:
    A.category-topA.category-top:visited {
        
    color#ca2721;
        
    text-decorationnone;
        } 

  3. #3
    Join Date
    Oct 2007
    Posts
    289
    Plugin Contributions
    0

    Default Re: CSS help please.

    ..or use important hack
    [FONT=Microsoft Sans Serif]CSS Evangelist[/FONT]

  4. #4
    Join Date
    Jul 2007
    Location
    UK? US?
    Posts
    118
    Plugin Contributions
    0

    Default Re: CSS help please.

    Quote Originally Posted by RuFuS View Post
    a.category-top:visited {
    color:#000000;
    }

    you need to remove it from this block though (or place it lower in css sheet)

    PHP Code:
    A.category-topA.category-top:visited {
        
    color#ca2721;
        
    text-decorationnone;
        } 
    Thanks for your help but that doesn't work either..I had already played with this section over and over again..

    If I change

    A.category-top, A.category-top:visited {
    color: #ca2721;
    text-decoration: none;
    }

    to
    a.category-top:visited {
    color:#000000;
    }


    and move it, it makes the text in the category box black which I want red...

    and if i change

    A.category-links, A.category-links:visited {
    color: #ca2721;
    text-decoration: none;
    }

    to

    A.category-links, A.category-links:visited {
    color: #000000;
    text-decoration: none;
    }


    It makes the text under the HR black (new products, all products) which I want to be red.


    I am trying to get all my visited links to be black

  5. #5
    Join Date
    Jul 2007
    Location
    UK? US?
    Posts
    118
    Plugin Contributions
    0

    Default Re: CSS help please.

    Quote Originally Posted by Nimbuz View Post
    ..or use important hack


    huh?

  6. #6
    Join Date
    Oct 2007
    Posts
    289
    Plugin Contributions
    0

    Default Re: CSS help please.

    "Important" hack —› color: #008000 !important;
    [FONT=Microsoft Sans Serif]CSS Evangelist[/FONT]

  7. #7
    Join Date
    Sep 2007
    Posts
    219
    Plugin Contributions
    0

    Default Re: CSS help please.

    If I change

    A.category-top, A.category-top:visited {
    color: #ca2721;
    text-decoration: none;
    }

    to
    a.category-top:visited {
    color:#000000;
    }

    and move it, it makes the text in the category box black which I want red...
    Yes but did you try it like this:

    a.category-top {
    color: #ca2721;
    text-decoration: none;
    }

    a.category-top:visited {
    color: #000000;
    text-decoration: none;
    }


    which is what I mean't (sorry if I didn't explain very well)

  8. #8
    Join Date
    Jul 2007
    Location
    UK? US?
    Posts
    118
    Plugin Contributions
    0

    Default Re: CSS help please.

    Quote Originally Posted by RuFuS View Post
    Yes but did you try it like this:

    a.category-top {
    color: #ca2721;
    text-decoration: none;
    }

    a.category-top:visited {
    color: #000000;
    text-decoration: none;
    }


    which is what I mean't (sorry if I didn't explain very well)
    Yes I think that is what I ended up doing...I fixed it but not too sure how as I "played" with it for hours.....lol

    Thank you for your help...

 

 

Similar Threads

  1. problem with css on IE! Please Help Me!
    By adrian_hs in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 8 May 2009, 09:19 AM
  2. CSS help please
    By karentown in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 19 Sep 2007, 03:36 PM
  3. please help with css
    By cherylkemp in forum Templates, Stylesheets, Page Layout
    Replies: 18
    Last Post: 21 Jul 2006, 04:43 PM
  4. Converting OS css to Zencart Css help please.
    By oavs in forum General Questions
    Replies: 2
    Last Post: 17 Jul 2006, 09:49 AM

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