Results 1 to 8 of 8
  1. #1
    Join Date
    Jan 2008
    Posts
    28
    Plugin Contributions
    0

    Default Category Selector in Header

    I use the classic template for my store, and there is a header at the top with the search box, then below: a banner for the store, then below that a category selector with all the categories in this shade of gray. What I want to do is find the php file for that little category selector up near the top of the page and change the color to something other then gray for the text.

    You can see the cart at: http://www.arrowheadshopping.com/

    Any ideas?

  2. #2
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,975
    Plugin Contributions
    0

    Default Re: Category Selector in Header

    This is not controlled by PHP.

    This is a CSS function and is controlled by stylesheets.

    Currently, in your stylesheet, you have TWO declarations governing the colour of the links:

    Code:
    #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;
    	}
    
    #navCatTabs ul li a {
    	color: #9a9a9a;
    	}
    This bottom one OVER-RIDES the one above it.

    The #9a9a9a is that GREY colour

    Bright RED would be #FF0000

  3. #3
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,975
    Plugin Contributions
    0

    Default Re: Category Selector in Header

    PS:

    Think about creating a custom template rather than use classic...

  4. #4
    Join Date
    Jan 2008
    Posts
    28
    Plugin Contributions
    0

    Default Re: Category Selector in Header

    Where would I find that style sheet?

    And why do you suggest using a different template?

  5. #5
    Join Date
    Jan 2008
    Posts
    28
    Plugin Contributions
    0

    Default Re: Category Selector in Header

    I changed the style sheet for my custom template. It does not seem to have any effect on the links below the banner.

  6. #6
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,975
    Plugin Contributions
    0

    Default Re: Category Selector in Header

    I hope I don't sound patronising, but these questions you are asking are very fundamental, and have been addressed many times before.

    Have you searched the forum for answers?

    The book is also a very good idea for people who have a need to learn the fundamentals.

  7. #7
    Join Date
    Jan 2008
    Posts
    28
    Plugin Contributions
    0

    Default Re: Category Selector in Header

    I have the manual and have searched the forums of course, and have edited the CSS files that I think control the link colors. For one reason or another though, this has had no effect on the link colors. What reasons can you think of would cause this?

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

    Default Re: Category Selector in Header

    You currently have two stylesheets, and both are being loaded, so they may be conflicting with one another. Renaming a stylesheet file won't keep it from being loaded if it's in the CSS folder and has a .css extension. Move the one you don't want to load to a different directory, or name it stylesheet.OLD.

 

 

Similar Threads

  1. Color selector
    By spleify in forum General Questions
    Replies: 3
    Last Post: 22 Oct 2010, 10:13 PM
  2. Topic/Category Header in Category Box
    By rooisnor in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 9 Dec 2008, 04:11 AM
  3. category images over category titles in header
    By hackhelp in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 20 May 2008, 05:01 AM
  4. Change header font in category with sub category
    By orphanespresso in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 26 Dec 2007, 08:22 PM
  5. IE(Problem) Product Category Listing Bleeds Into Category Header?
    By allen875 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 17 Dec 2007, 05:09 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