- Posts: 26
- Thank you received: 0
Can´t change the background of the template
-
isabeel
Inactive member -
Topic Author
- Member
-
Less
More
13 years 11 months ago - 13 years 11 months ago #7420
by isabeel
Can´t change the background of the template was created by isabeel
Hello! I just got the "hot furniturestore" and I want to have a background image in all page but the original site extends in all the wide of the page, the template says that the template width is 960px. but I still cant change it.
I try to change it in layout.css
body {
margin:0;
padding:0;
font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
line-height:20px;
bbackground:url(../images/backgroundt.jpg) top center no-repeat;
}
but it still looks withe in the sides and in the low of the page the images repeat in x, can you pleas help me?? I attatched the image.
link: entredetalles.com.mx/index.php
Thanks for your help!!
I try to change it in layout.css
body {
margin:0;
padding:0;
font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
line-height:20px;
bbackground:url(../images/backgroundt.jpg) top center no-repeat;
}
but it still looks withe in the sides and in the low of the page the images repeat in x, can you pleas help me?? I attatched the image.
link: entredetalles.com.mx/index.php
Thanks for your help!!
Last edit: 13 years 11 months ago by isabeel.
Please Log in to join the conversation.
-
ivan.milic
Support Staff -
- Moderator
-
Less
More
- Posts: 14116
- Thank you received: 1639
13 years 11 months ago #7431
by ivan.milic
Replied by ivan.milic on topic Re: Can´t change the background of the template
If you used code like in your post then you have syntax error:
bbackground:url(../images/backgroundt.jpg) top center no-repeat;
it should be:
background:url(../images/backgroundt.jpg) top center no-repeat;
with of template is changed in Template Manager -> hot_furniture -> "Template Width"
bbackground:url(../images/backgroundt.jpg) top center no-repeat;
it should be:
background:url(../images/backgroundt.jpg) top center no-repeat;
with of template is changed in Template Manager -> hot_furniture -> "Template Width"
Please Log in to join the conversation.
-
isabeel
Inactive member -
Topic Author
- Member
-
Less
More
- Posts: 26
- Thank you received: 0
13 years 11 months ago #7435
by isabeel
Replied by isabeel on topic Re: Can´t change the background of the template
thanks for your help Ivan! It was a type error it is like you said : background:url(../images/backgroundt.jpg) top center no-repeat;
but it still look white in the back instead of my background, I look in the source code of the page than the explorer gives, and it shows this code, for example:
#header {
background:#707070 url(/templates/hot_furniturestore/images/header_bg.png) top center no-repeat;
}
#content_main {
background:#3E4041 url(/templates/hot_furniturestore/images/content_bg.png) no-repeat center top;
}
I already eliminate all the images of the background, likce content_bg.png, etc, and the colors are still showing, so as I see in the source code I have to put background:none; but my problem is that I cant find the code, I already look in layout.css, in templete_css.css, also in templete.css, but nothing, could you please help me to find were can I find this??
Thank a lot!!!
but it still look white in the back instead of my background, I look in the source code of the page than the explorer gives, and it shows this code, for example:
#header {
background:#707070 url(/templates/hot_furniturestore/images/header_bg.png) top center no-repeat;
}
#content_main {
background:#3E4041 url(/templates/hot_furniturestore/images/content_bg.png) no-repeat center top;
}
I already eliminate all the images of the background, likce content_bg.png, etc, and the colors are still showing, so as I see in the source code I have to put background:none; but my problem is that I cant find the code, I already look in layout.css, in templete_css.css, also in templete.css, but nothing, could you please help me to find were can I find this??
Thank a lot!!!
Please Log in to join the conversation.
-
ivan.milic
Support Staff -
- Moderator
-
Less
More
- Posts: 14116
- Thank you received: 1639
13 years 11 months ago #7448
by ivan.milic
Replied by ivan.milic on topic Re: Can´t change the background of the template
Hi,
Also there is css in template_css.php like:
#content_main {
background:<?php echo $bgColor; ?> url(<?php echo $template_path ?>/images/content_bg.png) repeat-x;
}
but as you can see that is php file that gets some variable values eather from template parameters if custom style is selected of one of 6 predefined styles if selected (style1-style6). You can just commeth these lines using /* ... */
Also there is css in template_css.php like:
#content_main {
background:<?php echo $bgColor; ?> url(<?php echo $template_path ?>/images/content_bg.png) repeat-x;
}
but as you can see that is php file that gets some variable values eather from template parameters if custom style is selected of one of 6 predefined styles if selected (style1-style6). You can just commeth these lines using /* ... */
Please Log in to join the conversation.
Time to create page: 0.164 seconds