Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2012
    Posts
    1
    Plugin Contributions
    0

    Default Background Colour - Featured Productsting on Main Page

    Hi, I am very new to zencart and trying to dramatically modify the classic template v 1.5. However I cant seem to do it. What I have managed to do is remove the background behind the title heading and now I want it back. I am modifyng Stylesheet CSS. I have tried a number of area's and cant work it out! The area I thought it was is h2.CentreBoxHeading or centreboxwrapper or centreboxcontents(although prob not)! When I modify h2.CentreBoxHeading I can get the text alignment to change on the heading name, so I think its this, but cant get that 1cm background I want with colour behind it. I am not sure if I am in the wrong spot or adding the wrong attributes to achieve it. I have also managed to remove this for the product listing heading background also (in the process).
    Code is
    h2.centerBoxHeading {
    font-size: 16px;
    color: 9DDCF9;
    }
    .centerBoxWrapper {
    height: 1%;
    border: 1px solid #9a9a9a;
    margin: 1.1em 0;
    }
    .centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .additionalImages, .centerBoxContentsSpecials, .centerBoxContentsAlsoPurch, .centerBoxContentsFeatured, .centerBoxContentsNew {
    margin: 1em 0em;
    color: #F00;
    padding-bottom: 1cm;
    }
    .productListing-rowheading {
    background-color: 9DDCF9;
    height: 3em;
    color: 9DDCF9;
    margin: 20 cm;
    border: 2 cm;
    }
    Link to my cart (which isnt live hence the long name is )
    http://www.simplistyleparties.com.au...ease-12302011/

    thanks to anyone that can help.....

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

    Default Re: Background Colour - Featured Productsting on Main Page

    First, stop everything and create your custom template and make your edits there.

    http://www.zen-cart.com/content.php?...ustom-template

    Changing the stylesheet on your site using Web Developer, this does work for me (if I understand what you're trying to do):

    h2.centerBoxHeading {
    font-size: 16px;
    color: 9DDCF9;
    background-color: #ff0000;
    }

 

 

Similar Threads

  1. 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
  2. background colour of home main page
    By Sushigal in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 10 Jun 2009, 02:49 PM
  3. Background Colour/Image Main Page
    By gee38l in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 9 Jan 2009, 03:25 PM
  4. Changing Background colour on main page and boxes
    By hargz in forum General Questions
    Replies: 7
    Last Post: 3 Dec 2008, 07:14 PM
  5. Main Content Box Colour Vs. Background Colour
    By yoyodyne in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 6 May 2008, 02:50 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