As of writing my last post, I keep trying different combination's of the codes I listed above, but, they remain essentially the same. Nothing I do seems to work for me, and I'm hitting the proverbial![]()
As of writing my last post, I keep trying different combination's of the codes I listed above, but, they remain essentially the same. Nothing I do seems to work for me, and I'm hitting the proverbial![]()
I Think, Therefore I Zen. I Zen, Therefore, I AM!
Personalized Flowers!
Flowertown Speaking Roses using version 1.5.7-06232020
This mod is only going to be effective for background images, not foreground images like the logo. If you have an image defined for the logo, it will always cover the background. You need to suppress that image and give #headerLogo a defined height where you want the background to show for the logo. Presumably you would do this in top2.php.
You could add to your stylesheet for each page where you want a bg logo
.smartBG_95 #logo {display: none;}
Last edited by gjh42; 11 Sep 2008 at 11:44 PM.
I'm not sure I follow you. And, actually, I've done away with top2.php and I'm doing it this way instead:
Now, back to the logo problem. You say that I can't really use this mod for foreground images, but in the read me file, there are explicit directions (which confuse the heck out of me anyway) for doing so.PHP Code:<!--bof-branding display-->
<?php
if ($this_is_home_page) {
include('top_main.php');
}
else
{
echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT, '','', 'id="logo"' ) . '</a>';
}
?>
</td>
</tr>
</table>
<!--eof-branding display-->
I'm wanting to completely revamp my site, and using different headers and logos is the perfect way to do it.
There's gotta be a way.
I Think, Therefore I Zen. I Zen, Therefore, I AM!
Personalized Flowers!
Flowertown Speaking Roses using version 1.5.7-06232020
Oh right... it does say that...:) The first version of the mod with code in the file where the switching happens could be modified for foreground images. The same principles could be used in the new version, but would require adding new code in the file (in this case tpl_header.php.) I'm away from home right now and don't have access to my files, so I'll look at it later and get back to you.
Ok, I sure would appreciate that. Will that be today (this evening-don't know your time zone)?
I Think, Therefore I Zen. I Zen, Therefore, I AM!
Personalized Flowers!
Flowertown Speaking Roses using version 1.5.7-06232020
Probably tomorrow morning your time.
Ok. Looking forward to it. Thanks.
I Think, Therefore I Zen. I Zen, Therefore, I AM!
Personalized Flowers!
Flowertown Speaking Roses using version 1.5.7-06232020