Re: Footer Menu Support Thread
Quote:
Originally Posted by
FenG
This is what I use:
PHP Code:
<?php
/**
* Common Template - tpl_footer.php
*
* this file can be copied to /templates/your_template_dir/pagename<br />
* example: to override the privacy page<br />
* make a directory /templates/my_template/privacy<br />
* copy /templates/templates_defaults/common/tpl_footer.php to /templates/my_template/privacy/tpl_footer.php<br />
* to override the global settings and turn off the footer un-comment the following line:<br />
* <br />
* $flag_disable_footer = true;<br />
*
* @package templateSystem
* @copyright Copyright 2003-2005 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: tpl_footer.php 3183 2006-03-14 07:58:59Z birdbrain $
*/
require(DIR_WS_MODULES . zen_get_module_directory('footer.php'));
?>
<?php
if (!$flag_disable_footer) {
?>
<div id="footerhsy">
<div id="footershadow"></div>
<!--bof-navigation display -->
<div id="navSuppWrapper">
<!--BOF footer menu display-->
<?php require($template->get_template_dir('tpl_footer_menu.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_footer_menu.php');?>
<!--EOF footer menu display-->
<div id="navSupp">
<ul>
<br />
<br />
<br />
<?php if (EZPAGES_STATUS_FOOTER == '1' or (EZPAGES_STATUS_FOOTER == '2' and (strstr(EXCLUDE_ADMIN_IP_FOR_MAINTENANCE, $_SERVER['REMOTE_ADDR'])))) { ?>
<li><?php require($template->get_template_dir('tpl_ezpages_bar_footer.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_ezpages_bar_footer.php'); ?></li>
<?php } ?>
</ul>
</div>
</div>
<!--eof-navigation display -->
<center>
<?php echo zen_image(DIR_WS_TEMPLATE.'images/payments.gif'); ?>
</center>
<!--bof-ip address display -->
<?php
if (SHOW_FOOTER_IP == '1') {
?>
<div id="siteinfoIP"><?php echo TEXT_YOUR_IP_ADDRESS . ' ' . $_SERVER['REMOTE_ADDR']; ?></div>
<?php
}
?>
<!--eof-ip address display -->
<!--bof-banner #5 display -->
<?php
if (SHOW_BANNERS_GROUP_SET5 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET5)) {
if ($banner->RecordCount() > 0) {
?>
<div id="bannerFive" class="banners"><?php echo zen_display_banner('static', $banner); ?></div>
<?php
}
}
?>
<!--eof-banner #5 display -->
<!--bof- site copyright display -->
<div id="siteinfoLegal" class="legalCopyright"><?php echo FOOTER_TEXT_BODY; ?></div>
<!--eof- site copyright display -->
</div><!-- footerhsy -->
<?php
} // flag_disable_footer
?>
</div>
You need to remove the following:
Code:
<div id="navSupp">
<ul>
<br />
<br />
<br />
<?php if (EZPAGES_STATUS_FOOTER == '1' or (EZPAGES_STATUS_FOOTER == '2' and (strstr(EXCLUDE_ADMIN_IP_FOR_MAINTENANCE, $_SERVER['REMOTE_ADDR'])))) { ?>
<li><?php require($template->get_template_dir('tpl_ezpages_bar_footer.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_ezpages_bar_footer.php'); ?></li>
<?php } ?>
</ul>
</div>
</div>
Re: Footer Menu Support Thread
Alright I've installed the footer menu mod. Looks great but no matter what I do a cannot change the styling of the links (i.e remove underline, remove bold, change font type) no matter where I change nothing seems to take effect.
Please review the site at www.megasaveonline.com. What am I doing wrong.
Re: Footer Menu Support Thread
Quote:
Originally Posted by
hardwiredtemplates
Alright I've installed the footer menu mod. Looks great but no matter what I do a cannot change the styling of the links (i.e remove underline, remove bold, change font type) no matter where I change nothing seems to take effect.
Please review the site at
www.megasaveonline.com. What am I doing wrong.
open includes/templates/YOUR_TEMPLATE/css/stylesheet_footer_menu.css
find the following section and make whatever changes you require.
Code:
#footer ul {margin:0;padding:0;list-style: none;}
#footer li a:link {color: #444;font-size:11px;margin:0;padding-left:1em;padding-bottom:.3em;line-height:14px;display:block;}
#footer li a:visited {color: #444;font-size:11px;margin:0;padding-left:1em;padding-bottom:.3em;line-height:14px;display:block;}
#footer li a:hover {color:#f27a00;background:none;text-decoration: underline;}
#footer li a:active {color: #444;font-size:11px;margin:0;padding-left:1em;padding-bottom:.3em;line-height:14px;display:block;}
1 Attachment(s)
Re: Footer Menu Support Thread
Quote:
Originally Posted by
clydejones
open includes/templates/YOUR_TEMPLATE/css/stylesheet_footer_menu.css
find the following section and make whatever changes you require.
Code:
#footer ul {margin:0;padding:0;list-style: none;}
#footer li a:link {color: #444;font-size:11px;margin:0;padding-left:1em;padding-bottom:.3em;line-height:14px;display:block;}
#footer li a:visited {color: #444;font-size:11px;margin:0;padding-left:1em;padding-bottom:.3em;line-height:14px;display:block;}
#footer li a:hover {color:#f27a00;background:none;text-decoration: underline;}
#footer li a:active {color: #444;font-size:11px;margin:0;padding-left:1em;padding-bottom:.3em;line-height:14px;display:block;}
Clyde thanks for the quick reply. I've changed a combination of those lines yet I can't get it to do a universal change. What I mean is for example I change the #444 in one of the lines to say #f00 then only three of the links are red and not the rest.
Also I noticed there is no underline in the code above(Except the hover) yet the links on the site are ALL underlined:frusty:
Maybe something else is controlling the look of the footer links. I am attaching an image of what I am seeking.
Thanks for your hasty reply
the link again is www.megasaveonline.com
Re: Footer Menu Support Thread
Quote:
Originally Posted by
hardwiredtemplates
Clyde thanks for the quick reply. I've changed a combination of those lines yet I can't get it to do a universal change. What I mean is for example I change the #444 in one of the lines to say #f00 then only three of the links are red and not the rest.
Also I noticed there is no underline in the code above(Except the hover) yet the links on the site are ALL underlined:frusty:
Maybe something else is controlling the look of the footer links. I am attaching an image of what I am seeking.
Thanks for your hasty reply
the link again is
www.megasaveonline.com
look at your stylesheet.css
Code:
a:link, #navEZPagesTOC ul li a {
color: #2b2b2b;
text-decoration: underline;
}
a:visited {
color: #2b2b2b;
text-decoration: underline;
}
a:hover, #navEZPagesTOC ul li a:hover, #navMain ul li a:hover, #navSupp ul li a:hover, #navCatTabs ul li a:hover {
color: #2b2b2b;
text-decoration: none;
}
a:active {
color: #2b2b2b;
}
Re: Footer Menu Support Thread
Quote:
Originally Posted by
clydejones
look at your stylesheet.css
Code:
a:link, #navEZPagesTOC ul li a {
color: #2b2b2b;
text-decoration: underline;
}
a:visited {
color: #2b2b2b;
text-decoration: underline;
}
a:hover, #navEZPagesTOC ul li a:hover, #navMain ul li a:hover, #navSupp ul li a:hover, #navCatTabs ul li a:hover {
color: #2b2b2b;
text-decoration: none;
}
a:active {
color: #2b2b2b;
}
I've commented out that entire section from stylesheet.css yet ALL the links are STILL underlined. I know I a bit new to this but can you please elaborate a little more I've exhausted my options.:frusty:
Re: Footer Menu Support Thread
Quote:
Originally Posted by
hardwiredtemplates
I've commented out that entire section from stylesheet.css yet ALL the links are STILL underlined. I know I a bit new to this but can you please elaborate a little more I've exhausted my options.:frusty:
I think you might want to check with the author of the template to see if they have any suggestions.
Re: Footer Menu Support Thread
The HTML/CSS default for links is underlined, so unless your template (like the stock template) specifically changes this, it will happen even when there is no mention of underlining.
Add to this rule in stylesheet_footer_menu.css
#footer li a:link {color: #f00;font-size:11px;margin:0;padding-left:1em;padding-bottom:.3em;line-height:14px;display:block;text-decoration: none;}
Re: Footer Menu Support Thread
Quote:
Originally Posted by
gjh42
The HTML/CSS default for links is underlined, so unless your template (like the stock template) specifically changes this, it will happen even when there is no mention of underlining.
Add to this rule in stylesheet_footer_menu.css
#footer li a:link {color: #f00;font-size:11px;margin:0;padding-left:1em;padding-bottom:.3em;line-height:14px;display:block;text-decoration: none;}
Just to report back that did get rid of the underlines and I just included my other styling in the same area including selecting the font.
So reporting back success... Thanks guys
Re: Footer Menu Support Thread
Ok little problem I have in the footer links. The about us link is going to a "page not found" It was not even showing about us but I managed to get it there in the english.php file but cannot find where to edit the link. The site is www.megasaveonline.com
Any help?