mondobos
Member
Posted 1 year ago #
Riddle me this Batman! I created a div to house the logo and feedburner stuff in the header of my site. (uses Your Blog theme)
The site can be viewed here:
http://parentsunitedofsalem.org
BUT, if you go to any other page, the logo and "subscribe by email" divs at the top disappear! The home page is using a template named "welcome" and all the other pages use similarly constructed custom templates (to display different backgrounds). I didn't put any conditional tags anywhere. The next div down, the one containing the top nav ul, shows up on all the pages, so...wtf?
Thanks in advance.
#join {
float: right;
height: 127px;
margin-top: 0px
width: 20px;
}
please test this bit of code out on a page that isn't displaying the logo and 'subscribe' as it may help you figure out what the prob may be.
you could may be play with the #img too and see what happens.
CustomOnlineMarketingSolutions
Member
Posted 7 months ago #
I was having the exact same problem. The problem for me was that the full file path name wasn't being used.
Here's what I did:
Original header.php coding was
<img src="wp-content/themes/mythemename/images/header.jpg />
After some exploring around, I input a bit of php coding and it corrected the problem. My header now shows on every page. Here is the change:
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/header.jpg" />
Hope that helps.
Michael