evo css koda:
@charset "utf-8";
/* CSS Document */
ul{
list-style: none;
}
ul li{
float: left;
width: 100%;
}
#header{
padding: 300px;
[red] background-image:url(image/header.jpg);[/red]-------- ovde sam dodao pozadinu hedera ali ništa
}
#main{
padding: 10px;
}
#content{
float: left;
width: 75%;
}
#sidebar{
float: left;
width: 20%;
}
#footer{
padding: 10px;
width: 100%;
text-align: center;
float: left;
}
<?php get_header(); ?>
<link href="style.css" rel="stylesheet" type="text/css" />
<div id="main">
<div id="content">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<h1><?php the_title(); ?></h1>
<h4>Posted on <?php the_time('d.m.Y.') ?></h4>
<p><?php the_content(__('Vise...')); ?></p>
<hr>
<?php endwhile; else: ?>
<p><?php _e('Zao nam je, ne postoje clanci na ovom sajtu.'); ?></p>
<?php endif; ?>
</div>
<?php get_sidebar(); ?>
</div>
<?php get_footer(); ?>