Results 1 to 6 of 6
  1. #1
    Join Date
    May 2009
    Posts
    46
    Plugin Contributions
    0

    Default changing #navEZPagesTop a:visited color

    My Zen-Cart uses a blue 'tile_back.gif' and the color for visited links is also blue.

    Is there a way to change the text color for #navEZPagesTop only? I want the color to remain the same if the link is visited or not.

    Thank you.

  2. #2
    Join Date
    Apr 2009
    Posts
    2,134
    Plugin Contributions
    3

    Default Re: changing #navEZPagesTop a:visited color

    Yes,

    Add a comment to the stylesheet that reads:

    #navEZPagesTop a:visited, #navEZPagesTop a:link {color:#888888}

    The #888888 is the color of the text in RGB format. Change it to whatever you want :-)

  3. #3
    Join Date
    May 2009
    Posts
    46
    Plugin Contributions
    0

    Default Re: changing #navEZPagesTop a:visited color

    Quote Originally Posted by niccol View Post
    Yes,

    Add a comment to the stylesheet that reads:

    #navEZPagesTop a:visited, #navEZPagesTop a:link {color:#888888}

    The #888888 is the color of the text in RGB format. Change it to whatever you want :-)

    '#navEZPagesTop' and 'a:visited' are 2 different rules.

    '#navEZPagesTop' is the rule that controls the menu bar I want to change the text color of.

    'a:visited' is the rule that controls the color of links that have been visited.

    I want 'a:visited' to remain the same everywhere except in the menu bar. How can I change only the menu bar link color without changing any of the other links/text?

  4. #4
    Join Date
    Apr 2009
    Posts
    2,134
    Plugin Contributions
    3

    Default Re: changing #navEZPagesTop a:visited color

    Sorry for the delay in replying.

    If you have a style:


    #navEZPagesTop a:visited{color:red;}

    and a style:

    a:visited{color:blue}

    Then all the visited links in navEZpagesTop will be red and all the visited links that are not in navEZPagesTop will be blue.

    Hope that helps.

  5. #5
    Join Date
    May 2009
    Posts
    46
    Plugin Contributions
    0

    Default Re: changing #navEZPagesTop a:visited color

    Thank you. Love learning new things. Thanks to your posts and some trial and error, I was able to find out that I had no idea what I was doing and that you were completely right all along.

    Your first code, after realizing what to do with it, worked perfectly. Sorry for being such a noob. Thank you, niccol, for putting up with me and teaching me some new things.

    Thanks again, so much.
    Last edited by wachtn; 19 Jun 2009 at 09:11 PM.

  6. #6
    Join Date
    Apr 2009
    Posts
    2,134
    Plugin Contributions
    3

    Default Re: changing #navEZPagesTop a:visited color

    You're very welcome. The forum has helped me loads and loads too.

 

 

Similar Threads

  1. Visited color
    By tbaquatics in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 22 Jul 2009, 01:34 AM
  2. #navEZPagesTop active link color
    By HelenSama in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 24 Jun 2009, 09:55 PM
  3. How Do I Change Font Color on CSS navEZPagesTop
    By Bob88Vette in forum General Questions
    Replies: 7
    Last Post: 27 Jul 2008, 07:17 AM
  4. Breadcrumb 'visited' color misery
    By kevin_a in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 26 Mar 2007, 04:17 AM
  5. Changing visited link color time...cookie?
    By mcpisik in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 13 Feb 2007, 08:26 PM

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