Results 1 to 10 of 10
  1. #1
    Join Date
    May 2006
    Posts
    8
    Plugin Contributions
    0

    Default Backround color Help

    I have managed to have ALL my new zenner questions answered with the exception o 2 i will post here..Every post has been sooo helpful you all are great !

    Without much exp in CSS i need to change the backround color on the pages in ZC to match the main site which links to ZC to provide a more seemless intergration

    here is the link:

    www.cruisintee.com (main site shich i took over from a less than helpful developer working with a basic cart)

    i am in the final stages b4 going live : ) YIPPE !

    PLEASE ASSIST IN HELPING ME CHANGE THE CSS TO the same blue backround

    here is the cart address:

    shop.cruisintee.com/zencart

    next ? centering that darn logo on top.. i have followed the threads on this in archives wo luck

    please help!

    TIA!

    eml : )

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

    Default Re: Backround color Help

    Look in the Body tag of your CSS
    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
    Jan 2005
    Posts
    10
    Plugin Contributions
    0

    Default Re: Backround color Help

    More specifically, try something like this:

    body {
    margin: 0;
    font-family: verdana, arial, helvetica, sans-serif;
    font-size: 62.5%;
    color: #000000;
    background: url(../images/paper002.jpg);
    background-color: #996666; <--change this to the blue code that you're already using.
    }

    For a centered header, there are a couple of ways. I typically edit my copy of tpl_header.php (not the original, the one in YOUR template directory) and create a DIV ID for the logo. Then use css to create a float for that div id. Like this:

    #CardLogo {
    float: center;
    }

    Where CardLogo is the name of the div id I used (capitalization does matter)

    The other is to edit the tpl_header.php and manually center it, however I like to keep as much formatting as possible in the .css files.

  4. #4
    Join Date
    Sep 2005
    Posts
    95
    Plugin Contributions
    0

    Default Re: Backround color Help

    Add this to your style sheet:

    Code:
    TABLE.header TD {
      text-align: center;
    }
    that should center your logo.
    Zen-Cart, The Greatest Shopping Cart&#33;

  5. #5
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: Backround color Help

    There is no "float: center;...

    http://gallery.menalto.com/node/27228
    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.

  6. #6
    Join Date
    May 2006
    Posts
    8
    Plugin Contributions
    0

    Default Re: Backround color Help

    thanks for all your help, am getting ready to try.. please direct me where to find the stylesheet to make these changes, I am css challenged

  7. #7
    Join Date
    Apr 2006
    Location
    Sofia, Bulgaria
    Posts
    203
    Plugin Contributions
    0

    Default Re: Backround color Help

    -->
    </style>
    <link href="ctb.css" rel="stylesheet" type="text/css">
    <script language="JavaScript" type="text/JavaScript">
    <!--


    here Try to find this files - ctb.css
    usually u cant find it at ......\includes\templates\classic\css

    find at the first lines

    BODY {
    background-color: #e5edf5; / example color
    color: #000000;
    margin: 0px;
    margin-bottom: 10px;
    padding: 0px;
    font: 11px Verdana, Arial, sans-serif;
    }


    good luck

  8. #8
    Join Date
    Feb 2006
    Posts
    96
    Plugin Contributions
    0

    Default Re: Backround color Help

    Add padding to your stylesheet.css

    TABLE.header {
    background: #ffffff;
    /*background-image: url(../images/header_bg.jpg);*/
    background-repeat: repeat-x;
    width: 750px !important;
    background-color: #ffffff;
    border-right: 1px solid #9a9a9a;
    border-left: 1px solid #9a9a9a;
    border-bottom: 1px solid #9a9a9a;
    padding:0 266px 0 266px;
    }

    check it in all browsers to make sure it works for all of them. I've only tested this in Firefox.
    Last edited by Tykies; 18 May 2006 at 09:29 PM.

  9. #9
    Join Date
    May 2006
    Posts
    15
    Plugin Contributions
    0

    Default Re: Backround color Help

    I'm having a similar problem. I think I'm missing an obvious change somewhere. I created my own template folder, includes/templates/sr(myfolder)/css

    and included a file that is stylesheet.css

    In the admin I updated the template to my folder. I've tried changing the body background color in my stylesheet.css file, but it doesn't seem to work in two places. One is the background color, which doesn't change from the blue. The other is the width, where I tried giving the main wrapper a width of 850 px instead of 750. Should I be making these changes someplace else?

  10. #10
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Backround color Help

    Quote Originally Posted by wbauchus
    I'm having a similar problem. I think I'm missing an obvious change somewhere. I created my own template folder, includes/templates/sr(myfolder)/css

    and included a file that is stylesheet.css

    In the admin I updated the template to my folder. I've tried changing the body background color in my stylesheet.css file, but it doesn't seem to work in two places. One is the background color, which doesn't change from the blue. The other is the width, where I tried giving the main wrapper a width of 850 px instead of 750. Should I be making these changes someplace else?
    wbauchus

    Reading between the lines of your post, I think that you have a different set of problems. Could you create a new thread for them (ideally giving us a link to the current state of your site) and I'll take a look.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

 

 

Similar Threads

  1. How to change backround color of item title only
    By schobook in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 6 Jan 2013, 12:19 AM
  2. chance backround of categorie
    By ginux in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 13 Jun 2011, 11:35 PM
  3. Backround image
    By Little El in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 21 Jul 2010, 12:20 PM
  4. backround and #logowrapper
    By commdiver in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 3 Jun 2010, 04:14 PM
  5. Backround image?
    By zerocool9455 in forum Templates, Stylesheets, Page Layout
    Replies: 14
    Last Post: 15 May 2010, 02:34 PM

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