Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    Jul 2010
    Posts
    14
    Plugin Contributions
    0

    Default NavCatTabs Color clash

    Hi,

    Im having problems changing the colour of my navcatTabs products list text as it clashes with other items on my websites colors.

    http://www.westwalesfibreglass.co.uk/

    As the background is black on the menu I would like to see the text in white. But for the rest of my text on the new products photo items to be black I need to change the navcatTabs.

    Hope that makes sense. Can anybody help please. Thanks.

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: NavCatTabs Color clash

    Not exactly sure what you mean, but you can separate items from rules in the stylesheet, like this (for example):

    #navMain ul li a, #navSupp ul li a, #navCatTabs ul li a {
    text-decoration: none;
    padding: 0em 0.5em;
    margin: 0;
    color: #FFFFff;
    white-space: nowrap;
    }

    can be:

    #navMain ul li a, #navSupp ul li a {
    text-decoration: none;
    padding: 0em 0.5em;
    margin: 0;
    color: #FFFFff;
    white-space: nowrap;
    }

    and:

    #navCatTabs ul li a {
    text-decoration: none;
    padding: 0em 0.5em;
    margin: 0;
    color: #000000;
    white-space: nowrap;
    }

  3. #3
    Join Date
    Jul 2010
    Posts
    14
    Plugin Contributions
    0

    Default Re: NavCatTabs Color clash

    Hi,
    Thanks for the reply.

    If you visit my website now. www.westwalesfibreglass.co.uk you will see that the problem I have is highlighted in pink. navcatTabs seems to control both of these elements. Is there any way of seperating them so that they can be two different colours.

    Thanks.

    Ben.

  4. #4
    Join Date
    May 2010
    Location
    London UK
    Posts
    134
    Plugin Contributions
    0

    Default Re: NavCatTabs Color clash

    It looks like your links are the same colours, for example try adding

    a.category-top
    {
    color:#Your Color
    }

    to see if that changes the colour of your menu links and then adjust the other links to the colour you want.

    The easiest way is to at the moment they all seem pink, to make your life easier try adding the web developers plugin for fire fox it allows you to highlight areas of your website and identify the element id or class which makes making changes a lot easier.

    Hope it helps

  5. #5
    Join Date
    Jul 2010
    Posts
    14
    Plugin Contributions
    0

    Default Re: NavCatTabs Color clash

    Hi,

    Ive changed the website link colours to how they should be and the Category.Top to yellow.

    Its not changed it.

    This is the information showing on google chrome.

    element.style {
    }
    Matched CSS Rules
    a:link, #navEZPagesTOC ul li a {
    color: black;
    text-decoration: none;
    }
    a.category-top {
    color: #FFF333;
    }
    a:-webkit-any-link {
    color: -webkit-link;
    cursor: auto;
    text-decoration: underline;

    the underlined phrases were crossed.


    Is it possible to remove the matched link rule from the a.category-top . Would that work.

    Thanks, new to all this so figuring it all out as I go.

    :)

  6. #6
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: NavCatTabs Color clash

    Two things, now that I know you're talking about the Categories sidebox links:

    Zencart loads all stylesheets with the css extension that are in the current template's css folder, so you have two sheets fighting each other. Rename stylesheetlast.css (or stylesheet.css) to stylesheet.old or move it to a different folder.

    Stylesheets are applied top to bottom, so your a.category-top rule is being overridden by subsequent a rule(s). Place that rule at the bottom of the sheet, and it should work.

 

 

Similar Threads

  1. Navcattabs color
    By mrballs in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 10 Aug 2011, 01:24 PM
  2. IH and zen lightbox and zoom addons clash on edits to same file
    By abs007 in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 19 Mar 2011, 02:29 AM
  3. Australia Post and Dual Pricing Clash
    By Kitty in forum Addon Shipping Modules
    Replies: 3
    Last Post: 29 Dec 2007, 08:05 PM
  4. navCatTabs
    By rcallan515 in forum General Questions
    Replies: 3
    Last Post: 18 Sep 2006, 12:52 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