hi how do i add a image to conatiner in Edit Stylesheet: Advanced Mode
i tried this
#container {
image:http://i.imgur.com/1OUUu.png;
width: 95%;
background: #fff;
border: 1px solid #e4e4e4;
color: #000000;
margin: auto auto;
padding: 20px;
text-align: left; /* IE 5 fix */
i must be doing something wrong or can i add it in templeplates
Replace above with this;
#container {
width: 95%;
background: #fff url(http://i.imgur.com/1OUUu.png) repeat;
border: 1px solid #e4e4e4;
color: #000000;
margin: auto auto;
padding: 20px;
text-align: left; /* IE 5 fix */
}
Notice the ending } I've added.
The image property doesn't exist. You have to do:
background-image: url(http://i.imgur.com/1OUUu.png);
And to make it repeat:
background-repeat: repeat
Or you can just combine them together and replace
background: #fff; with it.
background: #fff url(http://i.imgur.com/1OUUu.png) repeat;
thanks guys can i do the same with ''body''
this is what i have in body but it won't show,did i do anything wrong here
body {
background: #efefef; url(http://i.imgur.com/1OUUu.png);
color: #000;
font-family: Verdana, Arial, Sans-Serif;
font-size: 13px;
text-align: center; /* IE 5 fix */
line-height: 1.4;
}
Replace it with this:
body {
background: #efefef url(http://i.imgur.com/1OUUu.png) repeat;
color: #000;
font-family: Verdana, Arial, Sans-Serif;
font-size: 13px;
text-align: center; /* IE 5 fix */
line-height: 1.4;
}
Replace with this;
body {
background: #efefef url(http://i.imgur.com/1OUUu.png) repeat;
color: #000;
font-family: Verdana, Arial, Sans-Serif;
font-size: 13px;
text-align: center; /* IE 5 fix */
line-height: 1.4;
}
ninja'd
thanks again,how do i add a sidebar
You can either install a plugin to do it or manually edit your index template. If you post your current index template I'll show you how to edit it to add a sidebar.