Results 1 to 10 of 10
  1. #1
    Join Date
    Jul 2006
    Posts
    18
    Plugin Contributions
    0

    Default Adjusting colors from stylesheet

    this is the URL of my store www.macivision.com
    I have changed the color of the background and sideboxes from the original color(Brown/Orange) to Blue but I cannot find on the Stylesheet where to change the Square from the Center Shop which still has the original color. And I wanted to widen the centershop, I have set it to 100% already, but I want it to be wider, so would anybody tell me where to change it. Can anybody help me out?

  2. #2
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,723
    Plugin Contributions
    13

    Default Re: Adjusting colors from stylesheet

    You're using the classic versus the newer template_default so there are two stylesheets.

    You need to first think about switching templates (you'll probably lose everything on the next big upgrade) and use the override system.

    If not, change the #mainWrapper in the stylesheet_new.css to width: 100%;
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  3. #3
    Join Date
    Jul 2006
    Posts
    18
    Plugin Contributions
    0

    Default Re: Adjusting colors from stylesheet

    Thank you for helping. If I were to use the classic stylesheet(includes/templates/classic/css), what do I do with the another one(default_template),do I delete it, so that it won't get mix up?
    Thanks

  4. #4
    Join Date
    Jul 2006
    Posts
    18
    Plugin Contributions
    0

    Default Re: Adjusting colors from stylesheet

    By resetting the mainwraper, it works. And, yes I used overide and did not back up anything. Which files that needed to back up? Iam sorry if the question seems stupid but this is thre first time that Iam using ZEn cart.

  5. #5
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,723
    Plugin Contributions
    13

    Default Re: Adjusting colors from stylesheet

    The classic is only around to ease the transition into the new 1.3.X.X version of ZenCart. 1.2.X.X used the classic template which is table-based. Some are intimidated by the new "floating" stylesheet and stay with the Classic. Those folks will one day find themselves not able to upgrade without major hassles.
    The devs have graciously provided files in the template_default folder to allow you to convert to the new tableless format.
    If you're in a hurry to upgrade from 1.2.X.X to 1.3.X.X you can stick with the Classic. BUT, you need to create a second site for testing and start migrating to the new template system.
    For information on the override system, see the wiki articles starting here:
    http://www.zen-cart.com/wiki/index.p...on_-_Templates
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  6. #6
    Join Date
    Jul 2006
    Posts
    18
    Plugin Contributions
    0

    Default Re: Adjusting colors from stylesheet

    Hi, just one more question.
    I have create a new template called "maci", so everything that I edit or change, I have to copy it and past into my new template. Example.
    if I edit the Stylesheet under the path /public_html/includes/templates/template_default/css/stylesheet.css
    I have to copy the change and past it to /public_html/includes/templates/maci/css/stylesheet.css
    so that if I were to upgrade, I would not lose any changed I have done.
    Is it right?
    Leo:

  7. #7
    Join Date
    Jul 2004
    Location
    Nevada City, CA
    Posts
    113
    Plugin Contributions
    0

    Default Re: Adjusting colors from stylesheet

    Quote Originally Posted by maci
    Hi, just one more question.
    I have create a new template called "maci", so everything that I edit or change, I have to copy it and past into my new template. Example.
    if I edit the Stylesheet under the path /public_html/includes/templates/template_default/css/stylesheet.css
    I have to copy the change and past it to /public_html/includes/templates/maci/css/stylesheet.css
    so that if I were to upgrade, I would not lose any changed I have done.
    Is it right?
    Leo:
    Have you activated your template under the admin? If so, there is no further need to change anything in the default template.

  8. #8
    Join Date
    Jul 2006
    Posts
    18
    Plugin Contributions
    0

    Default Re: Adjusting colors from stylesheet

    Thank you for replying my question.
    Yes, I did that already. URL www.macivision.com
    but the web has very funny colors once I have activated. I just wanna make sure one thing. So now everything that I edit under includes/template/maci would not be lost again.
    Leo

  9. #9
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,723
    Plugin Contributions
    13

    Default Re: Adjusting colors from stylesheet

    Sorry Lovere, that's not quite correct. The defaul_template directory does not contain the default template. It contains a guide for creating a custom template without tables.
    Maci is using the template_default files to make changes to the look of his site.
    This is an excellent move as the table-based Classic template will not be supported in the near future.
    The template_default files are to be used as the foundation for creating your own "house." However, any change you make to something under template_default will be overridden in the next release UNLESS you use the override system.
    The override system (also called custom template) has been put in place to help those who want the site to look a certain way even after update.
    The devs designed most of the core files so that they look to see if any custom template work has been done before using the default.
    The wiki, faq, and the forum have lots of help on the override system (custom template).
    The override is not in place for the admin files as yet but, anytime you change a file under the mycart/includes/ directory, you should try to save it to an override directory. In maci's case the public_html/includes/templates/maci/css/stylesheet.css will keep his stylesheet intact even with a new release. That's the best and correct approach in maci's case.
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  10. #10
    Join Date
    Jul 2006
    Posts
    18
    Plugin Contributions
    0

    Default Re: Adjusting colors from stylesheet

    hi,
    Thank you very much. That explaination really helps a lot.
    Leo

 

 

Similar Threads

  1. adjusting 3column layout widths from 33.3% to 30%
    By voluntaryist.only in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 28 Jul 2011, 09:54 AM
  2. Stylesheet used to edit header, footer colors
    By nadsab in forum General Questions
    Replies: 2
    Last Post: 20 Nov 2008, 06:43 AM
  3. Adjusting stylesheet for shoppincart, pay, ship etc pages
    By jvanree in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 27 Oct 2008, 06:47 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