1. Adding hover titles to mobile menu icons
\includes\templates\responsive_sheffield_blue\templates\tpl_modules_mobile_categ ories_tabs.php
To add titles to icons, replace the following:
Code:
<a class="toggleMenu" href="#"><img src="<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'images').'/'.M_MENU_IMAGE ?>" alt="m menu image" /></a>
<?php echo '<a class="m-home" href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><img src="<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'images').'/'.M_HOME_IMAGE ?>" alt=" m home" /></a>
<a class="m-cart" href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><img src="<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'images').'/'.M_CART_IMAGE ?>" alt="m cart" /></a>
with
Code:
<!-- bof buttons -->
<!-- bof toggle menu button -->
<a class="mobToggle" href="#"><img src="<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'images').'/'.M_MENU_IMAGE ?>" alt=" toggle menu" title="Menu" /></a>
<!-- bof home page button -->
<a class="m-home" href="#"><img src="<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'images').'/'.M_HOME_IMAGE ?>" alt=" m home" title="Home" /></a>
<!-- bof cart page button -->
<a class="mobCart" href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><img src="<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'images').'/'.M_CART_IMAGE ?>" alt=" cart" title="Cart" /></a>
<!-- eof buttons -->
and then replace that highlighted red with your own preference.
2. Display Login/Logout in mobile menu
\includes\templates\responsive_sheffield_blue\templates\tpl_modules_mobile_categ ories_tabs.php
Replace the following:
Code:
<li><a href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGIN; ?></a></li>
with
Code:
<?php
if ($_SESSION['customer_id']) { ?>
<li><a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGOFF; ?></a></li>
<?php
} else {
if (STORE_STATUS == '0') {
?>
<li><a href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGIN; ?></a></li>
<?php
}
}
?>
Note: COWOA not installed
Bookmarks