Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Jul 2008
    Posts
    7
    Plugin Contributions
    0

    Default Color change not publishing

    I am just getting started. I am changing the background color for my site, just to do a test. After I change it in my cpanel, it doesn't publish. I am changing the color under the includes/templates/magic/css stylesheet. Magic is the file I created as per the e-start zen book. I went back to make sure the changes I made were saved in that file, and they were. But, on my site there is still a white background. Any ideas? Thanks in advance...
    nettlesjewelry.com

  2. #2
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: Color change not publishing

    You seem to be missing a bunch of the normal files - try reuploading the whole package using a good FTP program. You will not have to re-run the installer.
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  3. #3
    Join Date
    Jul 2008
    Posts
    7
    Plugin Contributions
    0

    Default Re: Color change not publishing

    Ok, I just re-uploaded, and tried again to change the background to black. I just wonder if there is something silly I am not doing.


    Here is the file I created to make the changes in.
    /home/nettlesj/public_html/includes/templates/magic/stylesheet.css

  4. #4
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: Color change not publishing

    Did you select your template in admin->tools->template selection? It looks like your still using the classic template.

  5. #5
    Join Date
    Jul 2008
    Posts
    7
    Plugin Contributions
    0

    Default Re: Color change not publishing

    Template selection is not allowing me to add a new template. I thought I could just edit the classic green template. How do I add a template?

  6. #6
    Join Date
    Jul 2008
    Posts
    7
    Plugin Contributions
    0

    Default Re: Color change not publishing

    Ok, I added a new template to my admin.

    But, the changes I make in my cpanel files are not showing up on my site.

    There should be a black background.

  7. #7
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: Color change not publishing

    If you edit the classic template, all your changes will be lost with the next upgrade/update.

    Take a peek at http://(sorry, site offline)/ to see the free templates available for Zen Cart. Each comes with directions on how to install.

    You can start a template with simply the stylesheet.css and template_info.php.

    To create a very basic custom template (you can build from there), you need:
    • includes/languages/YOUR_TEMPLATE/english.php
    • includes/languages/english/YOUR_TEMPLATE/index.php
    • includes/languages/english/YOUR_TEMPLATE/meta_tags.php
    • includes/languages/english/YOUR_TEMPLATE/header.php (to change the logo)
    • includes/templates/YOUR_TEMPLATE/template_info.php
    • includes/templates/YOUR_TEMPLATE/common/tpl_header.php
    • includes/templates/YOUR_TEMPLATE/common/tpl_footer.php
    • includes/templates/YOUR_TEMPLATE/images/logo.gif
    • includes/templates/YOUR_TEMPLATE/css/stylesheet.css


    Anywhere you see a /classic/ folder, you can create a folder for your custom template. You can copy the necessary files from either the /classic/ folder, the /template_default/ folder or the parent folder.

    Edit includes/templates/YOUR_TEMPLATE/template_info.php to give your template identifying information so you'll recognize it in the admin under tools->template selection.

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

    Default Re: Color change not publishing

    One more zero in the color should do the trick.


    In includes/templates/magic/css/stylesheet.css


    body {
    margin: 0;
    font-family: verdana, arial, helvetica, sans-serif;
    font-size: 62.5%;
    color: #000000;
    background-color: #00000;
    }

  9. #9
    Join Date
    Jul 2008
    Posts
    7
    Plugin Contributions
    0

    Default Re: Color change not publishing

    I added a zero. Nothing.

    I am making all of my changes in a folder I created by copying files from the classic folder.

  10. #10
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: Color change not publishing

    When I looked at your site, it appeared to be using the classic template.

    In your stylesheet look for

    Code:
    /*wrappers - page or section containers*/
    #mainWrapper {
    	background-color: #ffffff;
    	text-align: left;
    	width: 750px;
    	vertical-align: top;
    	border: 1px solid #9a9a9a;
    	}
    and change it to

    Code:
    /*wrappers - page or section containers*/
    #mainWrapper {
    	background-color: #000000;
    	text-align: left;
    	width: 750px;
    	vertical-align: top;
    	border: 1px solid #9a9a9a;
    	}
    If you don't have it already, get the Firefox browser with the web developer addon which allows you to tinker with the stylesheet (css) and see the changes on the fly (among other thhngs). You still have to save your changes separately and upload them to the site to make them permanent.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Only one font color will not change, solution?
    By Goldenis in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 22 Dec 2010, 03:13 AM
  2. Change color Not To Confuse my Admins?
    By Renz in forum Customization from the Admin
    Replies: 1
    Last Post: 4 Mar 2010, 11:11 AM
  3. Can't change background color? (or any color, for that matter)
    By philanthropybooks in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 6 Oct 2009, 03:26 AM
  4. How to change the font color of category(not in sidebox)?
    By jl311811 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 14 Jul 2009, 11:21 AM
  5. Can NOT change bg color no matter what I DO...
    By lostplastic in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 24 Aug 2008, 08:26 PM

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