Modifying header to display image issues
Hello everyone, we’ve started a forum about a week ago and decided to use a template to skin the board. After a good couple of hours, we managed to match the forums colors and feel to our main website. I’m not really well-versed with CSS or PHP but i’m familiar enough to experiment, tinker and achieve the results I usually want. And besides, i’m learning as I go!
But there’s one thing that’s sort of baffling me. I’m trying to add our “logo” image in the header, right where the normal forum name text would appear. Usually, that’s just as simple as going to the header itself and replacing the PHP code used to get the name of the forum with an IMG html tag with width, height, etc.. However, the image won’t appear at all! We’ve double checked the directory, made sure it was pointed to the right place, checked the chmod settings on the image and everything should be fine, but the image still doesn’t appear. The result is in the screen cap below:
Is there something specific i’m supposed to be looking for? In the CSS file or the header.php file itself?
<div class="header pagewidth">
<!-- TITLE -->
<h1><a href="<?php bb_uri(); ?>"><?php bb_option('name'); ?></a></h1>
<?php if ( bb_get_option('description') ) : ?><h2><?php bb_option('description'); ?></h2><?php endif; ?>
<!-- END TITLE -->
/* header & nav */
background:#222 url('images/header.png') repeat-x scroll left top;
border-top:10px solid #E05900;
padding:40px 0 40px 10px;
You must be logged in to reply to this topic.