Results 1 to 7 of 7
  1. #1
    Join Date
    Oct 2010
    Location
    United Kingdom
    Posts
    477
    Plugin Contributions
    0

    Default Change back ground colour

    Hi Again (since I'm on a winning roll )

    I have a 12 leaves template Robbo Red and am looking into changing the background colour.
    I have tried a few things with out success as it should be a easy process of just changing the stylesheet file but they seem to have a lot of images controlling the outer boarder .... I am thinking of changing it to a subtle light blue or single colour

    Here is a bit of code I think matters

    body {
    margin: 0;
    font-family: arial, helvetica, sans-serif;
    font-size: 0.75em;
    color: #525151;
    line-height: 1.35em;
    text-align: center;
    }
    .body-wrapper {
    background: url("../images/body_bg.gif") repeat;
    min-width: 990px;
    }
    .body-bg {
    background: url("../images/body_bg.png") repeat center top;
    margin: 0 auto;
    width: 990px;
    height: 1%;
    }
    #header_bg {
    text-align: center;
    margin: 0;
    }
    .body-upper-bg {
    padding: 4.667em 0 0 0;
    height: 1%;
    }
    .body-bottom-bg {
    height: 1%;
    background: url("../images/spacer.gif") repeat-x center bottom;
    padding: 0 0 6.5em 0;
    }
    .center-upper-bg {
    background: url("../images/center_up_bg.png") no-repeat center bottom;
    height: 15px;
    }
    .centered-wrapper {
    margin: 0 auto;
    width: 990px;
    }
    a img {border: none; }

    Thanks again

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

    Default Re: Change back ground colour

    Please respond to the posting tips. Especially the one about an address to your site.

    All the code you have presented means nothing is something is written after it.
    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
    Oct 2010
    Location
    United Kingdom
    Posts
    477
    Plugin Contributions
    0

    Default Re: Change back ground colour

    Hi OK thought that would be enough
    but it's pewterworld .co .uk
    V 1.5.1

  4. #4
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,682
    Plugin Contributions
    11

    Default Re: Change back ground colour

    You can do a lot of "playing" if you get the firebug add-on for Firefox and use it to view what you need to fix.

    I'm assuming that what you are wanting to do is change the background OUTSIDE the area of the cart which is the div class body-wrapper.

    It currently is
    .body-wrapper {
    background: URL ("../images/body_bg.gif") repeat scroll 0 0 rgba(0, 0, 0, 0);
    min-width: 990px;
    }
    Try changing it to
    .body-wrapper {
    background-color: #8FD8D8;
    min-width: 990px;
    Adjust accordingly.

    BTW: min-width does nothing in this stylesheet. Don't know why it would be used.
    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.

  5. #5
    Join Date
    Oct 2010
    Location
    United Kingdom
    Posts
    477
    Plugin Contributions
    0

    Default Re: Change back ground colour

    Not the first time I have been told that seems to be a lot of un-needed bits lying around ... Thanks though ,will have a play this evening

    HI ,had a qhick change to the code you gave ,unfortunately it crashed the site ..will have another go this evening though
    Last edited by Andy-C27; 6 Jan 2014 at 08:56 AM.

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

    Default Re: Change back ground colour

    dbltoe's style code could not crash a site, so it must have been some error you made. I note that the closing } is left off of his revised background snippet, and if you removed the } following the rule you could cause some styling confusion and possibly unsightly mess, depending on what other rules come next.

  7. #7
    Join Date
    Oct 2010
    Location
    United Kingdom
    Posts
    477
    Plugin Contributions
    0

    Default Re: Change back ground colour

    You right I must have left it off ..
    Also when I say break I meant it put everything all over the place ...But it seems OK now .. Just need to play with colours now

    SO thanks again

 

 

Similar Threads

  1. Header back ground color
    By Skullman in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 19 Apr 2013, 08:56 PM
  2. page back ground
    By dadog in forum Customization from the Admin
    Replies: 7
    Last Post: 27 Jun 2010, 09:00 PM
  3. Changing back ground colour on Product Info Center Box
    By leest35 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 26 May 2010, 11:30 AM
  4. Font color change and back ground.. need some help.
    By in4sit in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 27 May 2008, 04:37 AM
  5. Red passion back ground change help need it
    By marcelosurf in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 10 Apr 2008, 08:39 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