Results 1 to 6 of 6
  1. #1
    Join Date
    Feb 2008
    Posts
    36
    Plugin Contributions
    0

    Default Weirdness with #navMainWrapper, #navSuppWrapper, #navCatTabsWrapper

    Hi again it's regarding the category headings that are hypertext links which appear below the logo. I don't know what they're called for easy reference. Partly that is my problem because maybe I'm missing something in my searches. More specifically though I set the color of them to white like this.

    Code:
    #navMainWrapper, #navSuppWrapper, #navCatTabsWrapper {
    	margin: 0em;
    	background-color: #FFFFFF;
    	font-weight: bold;
    	color: #FFFFFF;
    	height: 1%;
    	width: 100%;
    	}

    Now though they won't turn any other color. I can change the background-color no problem but it appears something is overriding the instruction for the hypertext. I think this may perhaps have something to do with my having taken the header wrapper outside of the main wrapper but I don't know for certain.

    My store is here if anybody has any ideas or educated guesses about what is going on. Cheers.

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Weirdness with #navMainWrapper, #navSuppWrapper, #navCatTabsWrapper

    The links would be

    #navMainWrapper a, #navSuppWrapper a, #navCatTabsWrapper a {

    You just are not currently giving them any styling.
    The base a {} rule will control them unless specifically set otherwise. By taking #headerWrapper outside of #mainWrapper, any style based on #mainWrapper will no longer apply.

  3. #3
    Join Date
    Feb 2008
    Posts
    36
    Plugin Contributions
    0

    Default Re: Weirdness with #navMainWrapper, #navSuppWrapper, #navCatTabsWrapper

    Hi Glenn thanks, yes I was thinking that this should have colored them:

    Code:
    a:link, #navEZPagesTOC ul li a {
    	color: #2e8309;
    	text-decoration: none;
            padding-bottom: 0px;
    	}
    But unfortunately not. I don't understand why really. I kind of think the links must already picking up styling from somewhere because they change from white to red if you hover over them. I'd love to know where they're getting that instruction from. As I say I actually changed them white by altering the color in the code above. Sure wish I hadn't!

  4. #4
    Join Date
    Feb 2008
    Posts
    36
    Plugin Contributions
    0

    Default Re: Weirdness with #navMainWrapper, #navSuppWrapper, #navCatTabsWrapper

    Hooray, woke up with a frsh head and got it sorted! As I said up above not knowing what things are called is really unhelpful. Just in case anybody else runs into the same thing where I needed to be looking was at #navMain ul li a, #navSupp ul li a, #navCatTabs ul li a, and not #navMainWrapper, #navSuppWrapper, #navCatTabsWrapper.

  5. #5
    Join Date
    Jul 2009
    Posts
    13
    Plugin Contributions
    0

    Default Trouble changing Font colour and type

    Hi
    Very new to Zen Cart and php etc.
    Trying to change the font colour and type for the nav_Main_Wrapper.
    Just cannot locate where it is controlled.
    I have used Firebug and edited on the fly to achieve what I want but cannot find the correct file to do this.
    Can Firebug tell me which file I am editing when I actually edit a line?
    Thanks.
    Site. www.pearlsgemsjewels.com.au
    Top left corner of header.
    PearlsGemsJewels, currently in white etc.

  6. #6
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Nav_nameWrapper editing

    If you use the Firebug "inspect element" where you see the divs etc in the main subwindow and the CSS that controls the selected element in the side subwindow, that will mention the file and line number where the CSS rule exists. It may not look exactly like this in the CSS file, but the selectors will be the same.
    #nameWrapper and its dependents are in stylesheet_new.css.

    You have a byte order marker ("BOM") at the top of that file (shown in red below)

    /**

    This can be added by incorrectly editing a file or using the wrong kind of editor. You need to get rid of it.

 

 

Similar Threads

  1. navSuppWrapper
    By slater555 in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 1 Jan 2012, 08:01 PM
  2. weirdness with cookie maybe
    By DarkAngel in forum General Questions
    Replies: 2
    Last Post: 19 Oct 2010, 04:12 PM
  3. Want to replace navMainWrapper with custom css menu
    By canemasters in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 7 Aug 2008, 06:45 PM
  4. Replies: 2
    Last Post: 12 Sep 2007, 08:21 PM
  5. Looking to replace #navmainwrapper with image links and searchbar
    By dvasdekis in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 7 Jul 2007, 12: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