New Zenner
- Join Date:
- May 2007
- Posts:
- 38
- Plugin Contributions:
- 0
where to add a new 'define' - Text for the Logo?
Sorry for asking, but I haven't found anything on this so far...
I would like to add a special css-class to my header logo. So as recommended I copied the header.php from /includes/languages/english/classic to my newly created override-file in /includes/languages/english/mytemplate and added a new define like this
define('HEADER_LOGO_IMAGE', 'RR-Logo.jpg');
define('HEADER_LOGO_CLASS', ' class="logo"');
assuming that ZC will add that to the tpl-header.php like the other ones:
<?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, HEADER_LOGO_CLASS). '</a>'; ?>
But this doesn't do the trick?
What do I have to change to get the additional class-information into my <img>-tag?
Thanks in advance!
Miriam