Results 1 to 8 of 8
  1. #1
    Join Date
    Dec 2008
    Posts
    40
    Plugin Contributions
    0

    Default Changing Background colour on main page and boxes

    Firstly how to i change the main background colour (yellow arrow in picture)
    And then how do i change the box footer colour (red arrow in picture)

    Thank You


  2. #2
    Join Date
    Jun 2007
    Location
    Shropshire UK
    Posts
    134
    Plugin Contributions
    0

    Default Re: Changing Background colour on main page and boxes

    Mostly controlled by the stylesheet - much more information available on this site - here's a few links to start - do a search for more...
    https://www.zen-cart.com/tutorials/index.php?article=43
    https://www.zen-cart.com/tutorials/i...hp?article=147
    http://www.zen-cart.com/forum/forumdisplay.php?f=54

  3. #3
    Join Date
    Dec 2008
    Posts
    40
    Plugin Contributions
    0

    Default Re: Changing Background colour on main page and boxes

    Where abouts can this be found on the CSS for the 2?

    Thanks
    Sam

  4. #4
    Join Date
    Jun 2007
    Location
    Shropshire UK
    Posts
    134
    Plugin Contributions
    0

    Default Re: Changing Background colour on main page and boxes

    Quote Originally Posted by hargz View Post
    Where abouts can this be found on the CSS for the 2?

    Thanks
    Sam
    Probably worth searching your stylesheet for the terms:


    "background" and

    "footer"

    https://www.zen-cart.com/tutorials/i...hp?article=147

    http://www.google.co.uk/search?hl=en...e+Search&meta=
    http://www.pageresource.com/dhtml/csstut1.htm
    http://blazonry.com/css/index.php

  5. #5
    Join Date
    Oct 2007
    Posts
    39
    Plugin Contributions
    0

    Default Re: Changing Background colour on main page and boxes

    Inside your stylesheet.css you can change the page background color:

    body {
    background-color:e5edf5;
    }

    And add this to the bottom of the stylesheet for the information box:

    #informationContent{background-color:green;}

    I hope this helps you out.

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

    Default Re: Changing Background colour on main page and boxes

    The body background-color advice is correct, but the sidebox green color is actually a border.
    In /includes/templates/your_template/css/stylesheet.css, find this
    Code:
    .leftBoxContainer, .rightBoxContainer {
    	margin: 0em;
    	border: 1px solid #9a9a9a;
    	border-bottom: 5px solid #336633;
    	margin-top: 1.5em;
    	}
    and delete or change the border-bottom line as desired.

  7. #7
    Join Date
    Oct 2007
    Posts
    39
    Plugin Contributions
    0

    Default Re: Changing Background colour on main page and boxes

    Woops sorry about that.

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

    Default Re: Changing Background colour on main page and boxes

    Not a problem. There's a whole lot of things to learn about the intricacies of ZC code and styling - there is still plenty that I haven't explored.

 

 

Similar Threads

  1. Background Colour - Featured Productsting on Main Page
    By Carleen in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 4 Jul 2012, 12:07 PM
  2. change the background colour of 'featured products' and 'special offers' box boxes
    By Sushigal in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 12 Oct 2010, 05:08 PM
  3. background colour of home main page
    By Sushigal in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 10 Jun 2009, 02:49 PM
  4. background colour of page underneath boxes
    By Sushigal in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 30 Apr 2009, 06:31 PM
  5. Background Colour/Image Main Page
    By gee38l in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 9 Jan 2009, 03:25 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