Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1
    Join Date
    Mar 2014
    Location
    Washington state
    Posts
    59
    Plugin Contributions
    0

    Default Background color

    OK I have been looking and reading on how and where to change the page background color from white to another color. I will end up changing all the pages to different colors.

    HTML Code:
    http://thedreamweaver.bugs3.com/Shop/zen-cart-v1.5.1-full-fileset-09182012/index.php

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

    Default Re: Background color

    As with all your threads, I'd like to help but your site won't load here in any browser. I strongly recommend that Zenners don't use 'free' hosting services, even for testing.

  3. #3
    Join Date
    Mar 2014
    Location
    Washington state
    Posts
    59
    Plugin Contributions
    0

    Default Re: Background color

    I don't understand why it won't load, it loads anywhere else I try it. What does it have to do with it being a free hosting service? Trying to understand. Who would you recommend I use.
    Last edited by wcsur; 6 Mar 2014 at 07:47 PM.

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

    Default Re: Background color

    You would use a "per-page stylesheet" for each page you want different, with a CSS rule to set the background-color of whatever elements you want to change. It is not possible to be more specific without knowing exactly what you want to change, and on which pages.

    You can have stylesheets for different kinds of pages (index, product_info, shoppingcart...) or for different categories (cPath 23, 56, 44_129, etc.) or products (products_id 123, 555, 6971...). Look at /includes/templates/template_default/css/CSS_readme.txt for more info.

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

    Default Re: Background color

    I don't understand it either. Others here seem to be able to access the site. Might be a routing issue.

    I don't know that the problem I'm having is related to the fact that your host is 'free', but I thought I would mention it in case you plan to use them when you site is done. Despite their claims, no one can offer the same service and support for free as others can who are being paid.

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

    Default Re: Background color

    And if you are using your site for a profit-making business, you need a host who can and will take care of issues you have right away.

  7. #7
    Join Date
    Mar 2014
    Location
    Washington state
    Posts
    59
    Plugin Contributions
    0

    Default Re: Background color

    I want to get rid of the white on the main page. Everywhere I try to change the color, it doesn't change it.

  8. #8
    Join Date
    Mar 2014
    Location
    Washington state
    Posts
    59
    Plugin Contributions
    0

    Default Re: Background color

    What host would you suggest?

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

    Default Re: Background color

    Add to the bottom of your stylesheet.css
    Code:
    #mainWrapper {background: #aabbcc;}
    Adjust the color (#aabbcc) as desired.

    Now to apply different colors to different pages, research the per-page stylesheets feature.

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

    Default Re: Background color

    For the homepage only, make a file named index_home.css with content
    Code:
    #mainWrapper {background: #aabbcc;}
    and save in /includes/templates/your_template/css/.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Css background img + background color
    By missanna in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 17 May 2010, 01:12 PM
  2. 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
  3. Background Image & Background Color
    By jben in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 30 Mar 2008, 01:11 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR