Results 1 to 10 of 13

Hybrid View

  1. #1
    Join Date
    Apr 2008
    Posts
    193
    Plugin Contributions
    0

    Default Re: How can I make my menu so the link to the page you are on is a different color?

    When I change the a:active properties this affects the colour of the link while it is pressed down.

    This is however not what im trying to edit. I want the link to change when you are on the page it links to.

    On this pagel;
    http://www.inksale.com/index.php?mai...index&cPath=21
    You are on 'Inkjet Cartridges', to the 'Inkjet Cartridges' link is a light blue colour.

    The CSS controlling this is appears to be;
    span.navbar-subs-selected

    Copying and pasting this into my CSS does not make it work however.

  2. #2
    Join Date
    Mar 2007
    Location
    California
    Posts
    30
    Plugin Contributions
    0

    Default Re: How can I make my menu so the link to the page you are on is a different color?

    Quote Originally Posted by jamesdavid View Post
    When I change the a:active properties this affects the colour of the link while it is pressed down.

    This is however not what im trying to edit. I want the link to change when you are on the page it links to.

    On this pagel;
    http://www.inksale.com/index.php?mai...index&cPath=21
    You are on 'Inkjet Cartridges', to the 'Inkjet Cartridges' link is a light blue colour.

    The CSS controlling this is appears to be;
    span.navbar-subs-selected

    Copying and pasting this into my CSS does not make it work however.

    Hey there!

    Did you ever find the answer to this as I too would like the link color for the page you are on to be distinctive

    I have the active link coded as follows but it doesn't work

    Code:
    a:active {
    color: #9977B3
    }
    Thanks!!!
    Janice

  3. #3
    Join Date
    Apr 2008
    Posts
    193
    Plugin Contributions
    0

    Default Re: How can I make my menu so the link to the page you are on is a different color?

    No, im not sure there is simple way. I think a:active is the standard way of doing this for website but it doesn't seem to work with zencart.

  4. #4
    Join Date
    Mar 2007
    Location
    California
    Posts
    30
    Plugin Contributions
    0

    Default Re: How can I make my menu so the link to the page you are on is a different color?

    Quote Originally Posted by jamesdavid View Post
    No, im not sure there is simple way. I think a:active is the standard way of doing this for website but it doesn't seem to work with zencart.

    Well darn it! I am going to ask Glenn (gjh42). He is a css guru and he is very acquainted with the zen cart!! Maybe he can tell us what's going on

    I will let ya know if I find something out! Thanks for the response!

    Janice

  5. #5
    Join Date
    Apr 2008
    Posts
    193
    Plugin Contributions
    0

    Default Re: How can I make my menu so the link to the page you are on is a different color?

    Thanks. If i ever find out ill post it here as-well.
    james

 

 

Similar Threads

  1. v139h How to Make the LOGO link point to the website home page in parent folder.
    By lynbor in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 5 Jan 2016, 10:04 PM
  2. v139h How can I change background color on search field so you can see the text?
    By heteromorphic in forum General Questions
    Replies: 5
    Last Post: 4 Nov 2013, 01:09 AM
  3. How to make the HOME page (index) different than the STORE page (main page)?
    By Dianna668 in forum Templates, Stylesheets, Page Layout
    Replies: 14
    Last Post: 27 Apr 2011, 05:29 PM
  4. how can I make a two layered in the menu?
    By jamesdavid in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 31 May 2008, 04:23 PM
  5. Replies: 1
    Last Post: 30 May 2006, 06:51 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