Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    Sep 2008
    Posts
    41
    Plugin Contributions
    2

    Default Change the colour......

    Hi all im wanting to change the colour of the center colum where it says welcome guest because my pictures have a white background. My background at the moment is gray but im wanting my pics to blend in with the background, i want it on the product info pages to but want to keep the right and left colum in the gray colour. I know its something to do with the stylesheet but cant seem to find it can anyone help with this 1?

    Thanks

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

    Default Re: Change the colour......

    You can find this in your stylesheet, and separate the .center column out and add background-color:#XXXXXX;


    .centerColumn, #bannerOne, #bannerTwo, #bannerThree, #bannerFour, #bannerFive, #bannerSix {
    padding: 0.8em;
    }


    so:

    .centerColumn {
    padding: 0.8em;
    background-color:#XXXXXX;
    }

  3. #3
    Join Date
    Sep 2008
    Posts
    41
    Plugin Contributions
    2

    Default Re: Change the colour......

    Hi, thanx for that its going in the right direction but it only goes half way down the page so the bottom half is still gray??

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

    Default Re: Change the colour......

    <SOAPBOX>
    Unless you have a 100% guaranteed STOCK template, no one can adequately address your problem (or many others presented in the forum) without the URL of your site.
    </SOAPBOX>

    Very few psychics available.
    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
    Sep 2008
    Posts
    41
    Plugin Contributions
    2

    Default Re: Change the colour......

    Hi, here is the web link to my site: www.truliebliss.com
    Thanx

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

    Default Re: Change the colour......

    around lines 246 and 258 in your stylesheet, you have a background color and image. Removing the color will stop the gray from showing at startup.

    If you don't use firefox as a browser, I would get it along with the firebug add-on. They can be an invaluable tool in fixing these kind of things.
    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.

  7. #7
    Join Date
    Sep 2008
    Posts
    41
    Plugin Contributions
    2

    Default Re: Change the colour......

    Hi, ive done as you said but it is still the same, it only seems to be with the new products of the month on, its fine when lookin at a product but does the same when looking at the sub cats?

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

    Default Re: Change the colour......

    can't see it with down for maintenance.

    try using firebug to inspect the area you are trying to fix.
    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.

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

    Default Re: Change the colour......

    One shortcoming of the standard template coding is that there is no way to address the center <td> element uniquely. If you edit /includes/templates/your_template/common/tpl_main_page.php in this area:
    PHP Code:
    <div id="navColumnOneWrapper" style="width: <?php echo BOX_WIDTH_LEFT?>"><?php require(DIR_WS_MODULES zen_get_module_directory('column_left.php')); ?></div></td>
    <?php
    }
    ?>
        <td valign="top">
    to add an id to the <td>, you can style the entire center section in your stylesheet.
    PHP Code:
    <div id="navColumnOneWrapper" style="width: <?php echo BOX_WIDTH_LEFT?>"><?php require(DIR_WS_MODULES zen_get_module_directory('column_left.php')); ?></div></td>
    <?php
    }
    ?>
        <td id="centerColumn" valign="top">
    Code:
    #centerColumn {background-color: #aabbcc;}

  10. #10
    Join Date
    Sep 2008
    Posts
    41
    Plugin Contributions
    2

    Default Re: Change the colour......

    Well thanx alot gjh42 that sorted the problem

    Great stuff!!!

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v151 How do I change the font colour for the text on contact us page ect
    By arthena in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 24 Nov 2013, 06:02 PM
  2. v138a Change the font size and colour on the order confirmation email
    By benjamin.knight in forum General Questions
    Replies: 0
    Last Post: 7 Aug 2013, 06:48 PM
  3. Can you change the colour of the sideboxes?
    By ElijahD in forum Basic Configuration
    Replies: 3
    Last Post: 16 Apr 2009, 12:30 AM
  4. Unable to change the the colour of the top of my template.
    By Jameslawrence in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 31 Aug 2008, 09:07 AM
  5. How do I change the bg colour behind the tagline?
    By hauruapai in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 10 Sep 2007, 02:01 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