Results 1 to 10 of 10
  1. #1
    Join Date
    Oct 2008
    Posts
    18
    Plugin Contributions
    0

    Default How do i change the background color of he page body??

    i have been going crazy trying to change the color from brown to Grey, and i cant find any other threads.

    policyclothing.com

    thanks!!!

  2. #2
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: How do i change the background color of he page body??

    element.style {
    background-attachment:scroll;
    background-color:#B29B70; <<< this is the colour
    background-image:none;
    background-position:0 0;
    background-repeat:repeat;
    margin-bottom:0;
    margin-left:5px;
    margin-right:5px;
    margin-top:0;
    }

    since you have tons of CSS on your site , i have no idea on which one of your stylesheet this one is located.

  3. #3
    Join Date
    Oct 2008
    Posts
    18
    Plugin Contributions
    0

    Default Re: How do i change the background color of he page body??

    thanks that worked perfect. Now do you see that small border of brown around the body, i cant seem to get ride of that

  4. #4
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: How do i change the background color of he page body??

    .fill_wrap {stylesheet_tm.css (line 135)
    background:#000000 url(../images/fill_wrap.gif) repeat-x scroll 0 0;
    }

    thats fill_wrap.gif ..

  5. #5
    Join Date
    Oct 2008
    Posts
    18
    Plugin Contributions
    0

    Default Re: How do i change the background color of he page body??

    k thanks

    now on the products page i want to clean up the size attributes and move them up underneath the cart

  6. #6
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: How do i change the background color of he page body??

    location of attribute is not set by css, you need to modify core file on zencart to do this .

    you need to modify tpl_product_info_display.php .. make sure you copy this file to your override and modify the override ...

  7. #7
    Join Date
    Oct 2008
    Posts
    18
    Plugin Contributions
    0

    Default Re: How do i change the background color of he page body??

    how should i modify it, i also found tpl_modules_attributes?

  8. #8
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: How do i change the background color of he page body??

    tpl_modules_attribute.php is attribute logic , it is called by product info page to display attributes .

    in order to modify php file, you need a editor that will not damage the file . so i suggest to download notepad ++ which is free and use that for all your editing .


    move COPY of tpl_product_info_display.php to your override folder.

    that should be something like

    includes > templates> your_template > templates

    if templates folder dose not exist , then create one.

    open override version of the php file in notepad ++ or any editor .

    move everything starting from line 130 <!--bof Attributes Module-->
    ending on line 142 <!--eof Attribute Module-->

    to new location .. in your case under your cart .. under this

    <!--eof Add to Cart box-->
    make sure you do not damage the code by adding space in the code or any other character as that may cause some problem .


    Also , you may want to search this forum and see if anyone has done this using CSS, since you are using templatemonster , i was not able to see CSS code effecting the attributes ..

  9. #9
    Join Date
    Oct 2008
    Posts
    18
    Plugin Contributions
    0

    Default Re: How do i change the background color of he page body??

    tried that and nothing happened

  10. #10
    Join Date
    Oct 2008
    Posts
    18
    Plugin Contributions
    0

    Default Re: How do i change the background color of he page body??

    actually i figured it out i added a div class to get into the right position.

    where would i adjust the placement of the larger image text

    to center it more under the pic

 

 

Similar Threads

  1. how to change the background color?
    By lina0962 in forum Basic Configuration
    Replies: 1
    Last Post: 9 Aug 2010, 12:40 PM
  2. Different body background color for each category page
    By JE2009 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 15 Aug 2009, 04:05 AM
  3. How to change the background color??
    By msl365 in forum General Questions
    Replies: 3
    Last Post: 21 Apr 2009, 10:57 PM
  4. How to change the background color of messagestack
    By zerocool in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 30 Jan 2007, 07:33 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