Thread: Layout question

Page 2 of 2 FirstFirst 12
Results 11 to 19 of 19
  1. #11
    Join Date
    Sep 2008
    Posts
    431
    Plugin Contributions
    0

    Default Re: Layout question

    Hey Glenn, I thought that perhaps my Home, Log In, Shopping Cart, and Checkout links at the top were a bit hard to read with the color contrast and all so I added the code below to my stylesheet but I can't imagine why it hasn't changed my page at all. Any idea?

    Ian

    #navMainWrapper
    { background-image:url(../images/upper-header-back.gif); /*navMainWrapper controls the very top of the page with Home and Log In*/
    padding:0.0em 0.2em;
    font-weight:bold;
    height:29px;
    float:bottom;
    color:#FFFFFF;} /* This color code changes the color of the Home, Log In, Shopping Cart, and Check Out links */

    a:hover,#navMainWrapper ul li a:hover
    { color:#ff1c16; } /* This color code changes the HOVER color of the Home, Log In, Shopping Cart, and Check Out links */

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

    Default Re: Layout question

    Try
    #navMainWrapper a {color: #ffffff;}


    Oh, and there is no such property as
    float:bottom;

    What are you trying to get with that?

  3. #13
    Join Date
    Sep 2008
    Posts
    431
    Plugin Contributions
    0

    Default Re: Layout question

    Quote Originally Posted by gjh42 View Post
    Try
    #navMainWrapper a {color: #ffffff;}


    Oh, and there is no such property as
    float:bottom;

    What are you trying to get with that?
    I can't say that I recall. I'll give it a shot.

    Ian

  4. #14
    Join Date
    Sep 2008
    Posts
    431
    Plugin Contributions
    0

    Default Re: Layout question

    Quote Originally Posted by gjh42 View Post
    Try
    #navMainWrapper a {color: #ffffff;}


    Oh, and there is no such property as
    float:bottom;

    What are you trying to get with that?
    I'm not really sure why the bottom command was there but it's gone now. I also changed the code to reflect what you said to try but both the hover and non-hover colors seem to be working. Did I miss something here?

    Ian

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

    Default Re: Layout question

    It looks like you have everything...
    #navMainWrapper {} controls the font color of the :: separators.
    #navMainWrapper a {} controls the color of the un-hovered links.
    #navMainWrapper a:hover {} controls the color of the hovered links.

  6. #16
    Join Date
    Sep 2008
    Posts
    431
    Plugin Contributions
    0

    Default Re: Layout question

    Quote Originally Posted by gjh42 View Post
    It looks like you have everything...
    #navMainWrapper {} controls the font color of the :: separators.
    #navMainWrapper a {} controls the color of the un-hovered links.
    #navMainWrapper a:hover {} controls the color of the hovered links.
    Hey Glenn, I moved the

    #navMainWrapper a {}
    #navMainWrapper a:hover {}

    statements to the bottom of the page but still the links are not displaying in the color I am specifying. What do you think is the problem? This is a very easy thing to command but yet it's not working. I have no idea...

    Ian

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

    Default Re: Layout question

    As a first step, add !important to the property. If that changes it, then there is another rule somewhere that is stronger and overriding this one. You will want to find and amend that if possible.

    #navMainWrapper a {color: #ffffff !important;}

  8. #18
    Join Date
    Sep 2008
    Posts
    431
    Plugin Contributions
    0

    Default Re: Layout question

    Quote Originally Posted by gjh42 View Post
    As a first step, add !important to the property. If that changes it, then there is another rule somewhere that is stronger and overriding this one. You will want to find and amend that if possible.

    #navMainWrapper a {color: #ffffff !important;}
    Well you were right as usual. Thanks for the idea about the "important" statement. Thats another handy little tool I'll be sure goes back in my box. The thing is, below is the only other navMainWrapper statement in the file so I can't imagine what's over-riding my previous statements.

    Ian

    #navMainWrapper
    { background-image:url(../images/upper-header-back.gif); /*navMainWrapper controls the very top of the page with Home and Log In*/
    padding:0.0em 0.2em;
    font-weight:bold;
    height:29px;
    color:#FFFFFF;}

  9. #19
    Join Date
    Sep 2008
    Posts
    431
    Plugin Contributions
    0

    Default Re: Layout question

    Wait. I've just now noticed that my header and footer links are now hovering to red too but before they hovered to white. I suppose I could always move the header and footer hover statements below my new navMainWrapper statement but I'm sure that won't do any good because we gave navMainWrapper it's "important" title. So, what do you recommend?

    Ian

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. layout question
    By eaddesigns in forum General Questions
    Replies: 3
    Last Post: 15 Aug 2008, 03:40 PM
  2. Layout Question
    By karazy in forum General Questions
    Replies: 4
    Last Post: 27 Jul 2008, 08:29 AM
  3. Layout question
    By Barcelona in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 22 Feb 2007, 05:44 AM
  4. Layout Question
    By Jeff_Mash in forum Addon Templates
    Replies: 3
    Last Post: 27 Jan 2007, 06:11 PM
  5. layout question
    By zas in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 27 Oct 2006, 10:56 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