So I’m trying to put in a bg image using godaddy website tonight and its just not working for me.. I only want it to be in the main paragraph area.. I know html quite well but just a little css..
here is my site: [url]http://srcnews.info/
here is my coding so far.. All I’ve really added to the template is under body.. Not sure if it supposed to be under body or .sf_outer_wrapper.. Or maybe I need more of a url for my image? I have it uploaded into my images:
/*********************************************************
Folder: Theme315_Generic1
Name: Generic 1
Cat: Generic
*********************************************************/
/
GENERAL
————————————*/
body {
background-image:url(images/bamboo1.jpg);
background-repeat:no-repeat;
background-position:center;
background-color:#ffffff;
margin: auto;
}
.sf_outer_wrapper {
width: 1014px;
margin: 50px auto;
}
.sf_wrapper {
width: 1014px;
position: relative;
}
a {
color: #000;
}
a:hover {
color: #333;
}
a:visited {
color: #000;
}
.sf_extra10 {
display: none;
}
/* ————————————
HEADER
————————————
.sf_header_wrapper {
margin-top: 0px;
height: 133px;
}
.sf_main_header p, .sf_sub_header p { margin: 0; padding: 0; }
.sf_main_header {
padding-top: 25px;
text-align: left;
line-height: 0.9;
margin-left: 18px;
height: 40px;
overflow: hidden;
font-family: Arial, Helvetica, FreeSans, sans-serif;
font-size: 24px;
font-weight: bold;
}
.sf_sub_header {
text-align: left;
padding: 4px 0 30px 50px;
width: 450px;
height: 30px;
overflow: hidden;
font-family: Arial, Helvetica, FreeSans, sans-serif;
font-size: 12px;
font-style: normal;
font-weight: normal;
font-variant: normal;
}
/* ————————————
NAVIGATION
————————————
.sf_navigation_top { display: none; }
.sf_navigation {
clear: both;
height: auto;
width: 1014px;
}
.sf_navigation ul {
margin: 0 0;
height: auto !important; height: 1%;
padding-left: 0;
}
.sf_navigation ul:after {
content: “.”;
display: block;
visibility: hidden;
height: 0;
font-size: 1px;
clear: both;
}
.sf_navigation ul {
list-style-type: none;
}
.sf_navigation ul li {
float: left;
width: auto !important;
width: 5px;
white-space: nowrap;
}
.sf_navigation ul li a {
height: 40px;
margin: 0 0 0 1px;
text-decoration: none;
display: block;
line-height: 28px;
padding: 0 10px;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
font-style: normal;
font-weight: normal;
font-variant: normal;
}
.sf_navigation ul li a:hover {
text-decoration: none;
color: #fff;
display: block;
}
.sf_subnavigation, .sf_subnavigation2 {
display:none;
}
/*————————————
Dropdown
————————————
#Nav1 iframe {
position: absolute;
/* account for the border
left: -0.25em;
top: -0.25em;
z-index: 0;
filter: progidXImageTransform.Microsoft.Alpha(style=0,opacity=0);
margin-left: 3px;
}
#Nav1,
#Nav1 ul { /* all lists
list-style:none;
width:100%;
}
#Nav1 a {
display:block;
}
#Nav1 li { /* all list items
float:left;
}
#Nav1 li ul { /* second-level lists
position:absolute;
left:-999em;
width:130px;
margin:-4px 0 0 0;
border:solid 1px #929292;
background:#ffffff;
padding:3px 3px 0 3px;
z-index:1000;
}
#Nav1 li ul li{
margin:0;
padding:0;
background:none;
}
#Nav1 li ul li a{
background:#e8e8e8;
height:auto;
margin:0 0 3px 0;
width:120px;
padding:5px;
line-height:normal;
white-space:normal;
border:none;
}
#Nav1 li ul li a:hover{
background:#999999;
}
#Nav1 li:hover ul,
#Nav1 li.sfhover ul { /* lists nested under hovered list items
left:auto;
}
#Nav1 li:hover, #Nav1 li.hover {
position: static;
}
/*————————————
CONTENT
————————————
.sf_pagetitle {
clear: both;
padding: 10px 0 0 20px;
text-align: left;
height: auto !important;
min-height: 30px;
font-family: Arial, Helvetica, FreeSans, sans-serif;
font-size: 24px;
font-style: normal;
font-weight: normal;
font-variant: normal;
}
.sf_pagetitle h1 {
font-size:24px;
font-weight:normal;
margin:0;
}
.sf_content {
height: 300px;
padding: 20px 20px 0 20px;
margin: 0px;
font-size: 12px;
font-family: Verdana, Arial, Helvetica, sans-serif;
height: auto !important;
height: 200px;
min-height: 200px;
}
.sf_content:after {
content: “.”;
display: block;
visibility: hidden;
height: 0;
font-size: 1px;
clear: both;
}
/*————————————
FOOTER
————————————
.sf_footer {
font-size: 13px;
padding: 25px 0 10px 20px;
text-align: center;
font-family: Verdana, Arial, Helvetica, sans-serif;
background-color:#F6F6F6;
}
/*————————————
BANNER
————————————
div.sf_banner {
margin-bottom: 35px;
padding-top: 50px;
text-align: center;
font-size: 13px;
}
div.sf_banner div#bannerLink {
padding-top: 10px;
}
/**
* Sticking flyout menu bug
*
* @css-for ie7
*/
#Nav1 li:hover, #Nav1 li.hover {
position: static;
}