Hey guys,
Is there a way to have 2 HEADER_LOGOs next to each other in the logoWrapper?
I tried to modify the tpl_header.php and the header.php but since my php coding ain't even close to good, i couldn't make it work.
So far, i got the HEADER_logo duplicated (as HEADER2_LOGO) but it's stuck underneath the 1st one...
Here is what i got in the tpl_header.php:
and here is the modification in the header.php:PHP Code:<!--bof-branding display-->
<div id="logoWrapper">
<div id="logo"><?php 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) . '</a>'; ?></div>
<div id="logo2"><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . zen_image($template->get_template_dir(HEADER2_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER2_LOGO_IMAGE, HEADER_ALT_TEXT) . '</a>'; ?></div>
<?php if (HEADER_SALES_TEXT != '' || (SHOW_BANNERS_GROUP_SET2 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET2))) { ?>
<div id="taglineWrapper">
<?php
if (HEADER_SALES_TEXT != '') {
?>
<div id="tagline"><?php echo HEADER_SALES_TEXT;?></div>
<?php
}
?>
<?php
if (SHOW_BANNERS_GROUP_SET2 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET2)) {
if ($banner->RecordCount() > 0) {
?>
<div id="bannerTwo" class="banners"><?php echo zen_display_banner('static', $banner);?></div>
<?php
}
}
?>
</div>
<?php } // no HEADER_SALES_TEXT or SHOW_BANNERS_GROUP_SET2 ?>
</div>
<br class="clearBoth" />
<!--eof-branding display-->
What am i missing (besides php coding skills... ah ah ha ) ?PHP Code:// added defines for header alt and text
define('HEADER_ALT_TEXT', 'Looloo\'s Skincare - back to the Homepage');
define('HEADER_SALES_TEXT', '');
define('HEADER_LOGO_WIDTH', '190px');
define('HEADER_LOGO_HEIGHT', '190px');
define('HEADER_LOGO_IMAGE', 'down_for_maintenance.gif');
define('HEADER2_LOGO_WIDTH', '129px');
define('HEADER2_LOGO_HEIGHT', '170px');
define('HEADER2_LOGO_IMAGE', 'Plumeria-corner.png');
link : www.loolos-skincare.com/index.php
Thanks,
Damien




