
Originally Posted by
idtags
I probably am not clear with definitions.
So, for Tablet "Apple Air" I have Footer shown like this:
Attachment 17533
And for "i-Phone 6S" footer is missing:
Attachment 17534
Link to responsive template is
here
We consider that we have footer on Tablet (iPad), but do not have it on Mobile phones.
Are we wrong?
Question is how to add footer to mobile Phone?
This is Ok too, but how to make it
visible on the bottom?
Thank you for your time in advance.
It's shut off in CSS - look in your responsive and mobile .css for navSupp or navSuppWrapper and change this {display:none;visibility:hidden;} to view.
You can model the existing footer menu or make a new one like this:
Add this to your_template/tpl_footer.php
PHP Code:
<!-- bof Twitch Footer Navigation for 155e -->
<!-- footer structure here using divs to manage each button with db OR independantly with CSS as it should be -->
<div id="twiFooterNav">
<div id="footerHomeButton" class="twiFooterNavButtons"><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo HEADER_TITLE_CATALOG; ?></a></div>
<?php if (EZPAGES_STATUS_FOOTER == '1' or (EZPAGES_STATUS_FOOTER == '2' and (strstr(EXCLUDE_ADMIN_IP_FOR_MAINTENANCE, $_SERVER['REMOTE_ADDR'])))) { ?>
<?php require($template->get_template_dir('tpl_ezpages_bar_footer.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_ezpages_bar_footer.php'); ?>
<?php } ?>
<div id="footerLeaveButton" class="twiFooterNavButtons"><?php echo '<a href="http://twitchtoo.com/">'; ?><?php echo 'Exit Code Shop'; ?></a></div>
<div id="footerBackToTopButton" class="twiFooterNavButtons"><a href="#top">Back to Top</a></div>
<!-- Twitch hide back to top icon <div id="footerBackToTopButton" class="twiFooterNavButtons"><a href="#top"><i class="fa fa-arrow-circle-up" title="Back to Top"></i></a></div> -->
<div id="footerContactButton" class="twiFooterNavButtons"><?php echo '<a href="' . zen_href_link(FILENAME_CONTACT_US, '', 'SSL') . '">' . BOX_INFORMATION_CONTACT . '</a>'; ?></a></div>
</div> <!-- twifooterNav ends -->
<!-- eof Twitch Footer Navigation for 155e -->
Add this to your css stylesheet:
/* Twitch Footer Navigation for 155e */
#twiFooterNav {margin: 0; padding: 0; width: 100%; background: #D7D6CC; display:table; }
.twiFooterNavButtons {font-size: 1rem;display:table-cell;vertical-align: middle;}
.twiFooterNavButtons a:link {text-decoration: none;padding: 1em 1em; display:inline-block;color: #444;}
.twiFooterNavButtons a:visited {text-decoration: none;padding: 1em 1em; display:inline-block;color: #444;}
.twiFooterNavButtons a:hover {background:#444; color: white;}
Here I've stopped using the HTML/CSS - UL LI that is a mess in the stock template, this provides more control for future updates and maintains responsive layouts without the use of the Mobile/Tablet/Desktop/Other control switch... it just works :)
Bookmarks