Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Feb 2005
    Posts
    202
    Plugin Contributions
    0

    Default Changing Colors in CSS? Not working

    I have search the posts and found several posts and I tried the examples, but it still does not work! See here: http://cherylsjewelry-n-giftnook.com/zencart/

    See where it says "Home and Link" below the main header, well I want to change that from white to brown. I was told it was here:

    #navMainWrapper, #navSuppWrapper, #navCatTabsWrapper {
    margin: 0em;
    background-color: #694F35;
    font-weight: bold;
    height: 1%;
    width: 760px;
    }

    but that does not work. I had a background image that was removed, but now the color is white not brown.

    I also want the center of all pages to be the light brown that is around the outer columns...

    I am using the current version of zen, classic override system, and the stylesheet.css not the new or original one...

    I also want to change the footer color too but that is not working.. please help!

    Maybe I am using the wrong stylesheet?????? This is the stylesheet that came with the classic template.. should I be using the original or new stylesheet?

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Changing Colors in CSS? Not working

    You have all three css files being processed.
    Start by renaming the style sheets in my_store06 folder
    your stylesheet_new.css to stylesheet_new.old
    and your stylesheet_original.css to stylesheet_original.old
    See what this looks like and now changes are all controlled through one style sheet, the one left as stylesheet.css

    you will have to change the width 100% entries to either 75% or 750px to get back to your current look. and than some colors might have to be adjusted.

    This should get you on the correct track
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Feb 2005
    Posts
    202
    Plugin Contributions
    0

    Default Re: Changing Colors in CSS? Not working

    ok, i did want you told me and still looks the same

    I went to the define editor and added the beige background color for my introduction and you can see it when you view in the html editor for main_page but when you actually view the page it is still white! I dont get it... Maybe I am missing it in the code somewhere?

  4. #4
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Changing Colors in CSS? Not working

    Remove the .css extension on these two files:

    stylesheet_original.old

    stylesheet_new.old

    Check now and see if that helps.

  5. #5
    Join Date
    Feb 2005
    Posts
    202
    Plugin Contributions
    0

    Default Re: Changing Colors in CSS? Not working

    It worked! Thank you both!

    Now, I have to figure out where to add the color for category, information headers tab etc..

    I appreciate all your help!

  6. #6
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Changing Colors in CSS? Not working

    Just a small tweak suggestion.

    Your logo is 755px wide.

    You might want to adjust this to avoid that slight overlap on the right side.

    Code:
    #mainWrapper {
    	background-color: #F6EED9;
    	text-align: left;
    	width: 755px;
    	vertical-align: top;
    	border: 1px solid #F7E7CE;
    	}
    Just change the portion in red.

  7. #7
    Join Date
    Feb 2005
    Posts
    202
    Plugin Contributions
    0

    Default Re: Changing Colors in CSS? Not working

    ok thanks, i changed it... were you using IE or firefox? I know in IE it looks good but in firefox the dark brown is coming out on the right side of the logo... i dont know how to correct that...?

    thank you for your time.

    would you know how to change the row colors for the product and the footer to brown on all pageS?

  8. #8
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Changing Colors in CSS? Not working

    Tweak this section of code also, right now you have it set at 760px.

    Code:
    #navMainWrapper, #navSuppWrapper, #navCatTabsWrapper {
    	margin: 0em;
    	background-color: #694F35;
    	font-weight: bold;
    	height: 1%;
    	width: 755px;
    	}
    you can add the following 2 statements to your stylesheet.css

    .footertop, .footerbottom {
    background-color: #000000; /*make this the color you want*/
    }

  9. #9
    Join Date
    Feb 2005
    Posts
    202
    Plugin Contributions
    0

    Default Re: Changing Colors in CSS? Not working

    thank you that worked.... quick question... i would like to make the brown footer smaller and I tried to add add this code:

    height: .5em; but it seems to keep it about the same height... how can i make the footer smaller and center the text?

    Also, where in the css would control adding a border around the links under 'category'

    Do you recommend any good CSS books?

    Thank you for all your help :)

  10. #10
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Changing Colors in CSS? Not working

    Judging by what I can see, your tpl_footer.php seems to be from an older table based version.

    which current version of zen cart are you using?

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. How can I change link colors in header, without changing all other link colors?
    By coreyalderin in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 20 Jun 2012, 03:17 AM
  2. Changing Colors (CSS issues)
    By turboz in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 12 Jan 2008, 06:02 AM
  3. CSS not working
    By flyboy86326 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 4 Oct 2007, 02:38 PM
  4. CSS is not working
    By ioancuza in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 24 Nov 2006, 05:28 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