If this is your first visit, check our documentation. To post, register or login.
Forums / Customizing the Look of Your Shop / Templates, Stylesheets, Page Layout / How do i change the background color of he page body??

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

Locked

Started by kagen on 3 Feb 2009, 7:49 PM · Views: 1,509

Results 1 to 10 of 10
This thread is locked. New replies are disabled.
3 Feb 2009, 7:49 PM
#1
kagen avatar

kagen

New Zenner

Join Date:
Oct 2008
Posts:
18
Plugin Contributions:
0

Post #1 by kagen

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

policyclothing.com

thanks!!!

3 Feb 2009, 9:26 PM
#2
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Post #2 by tony_sar

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.

6 Feb 2009, 7:31 AM
#3
kagen avatar

kagen

New Zenner

Join Date:
Oct 2008
Posts:
18
Plugin Contributions:
0

Post #3 by kagen

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

6 Feb 2009, 9:41 AM
#4
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Post #4 by tony_sar

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

thats fill_wrap.gif ..

6 Feb 2009, 8:58 PM
#5
kagen avatar

kagen

New Zenner

Join Date:
Oct 2008
Posts:
18
Plugin Contributions:
0

Post #5 by kagen

k thanks

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

6 Feb 2009, 9:07 PM
#6
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Post #6 by tony_sar

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 ...

6 Feb 2009, 10:01 PM
#7
kagen avatar

kagen

New Zenner

Join Date:
Oct 2008
Posts:
18
Plugin Contributions:
0

Post #7 by kagen

how should i modify it, i also found tpl_modules_attributes?

6 Feb 2009, 10:26 PM
#8
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Post #8 by tony_sar

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 Feb 2009, 1:41 AM
#9
kagen avatar

kagen

New Zenner

Join Date:
Oct 2008
Posts:
18
Plugin Contributions:
0

Post #9 by kagen

tried that and nothing happened

9 Feb 2009, 2:54 AM
#10
kagen avatar

kagen

New Zenner

Join Date:
Oct 2008
Posts:
18
Plugin Contributions:
0

Post #10 by kagen

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