Re: Footer Menu Support Thread
This tutorial will help you think of the right process.
Re: Footer Menu Support Thread
Hello Clyde :) Can you tell me how to get the wrapped text in the footer link to align properly? Ie, http://www.loves2nurse.com/ in the footer column that says "Breastfeeding", the link that says "Instructions for using Breast Pumps"...I would like that text to line up. What do I add to the css and where? Thanks! Amy
Re: Footer Menu Support Thread
Quote:
Originally Posted by
Doodlebuckets
Hello Clyde :) Can you tell me how to get the wrapped text in the footer link to align properly? Ie,
http://www.loves2nurse.com/ in the footer column that says "Breastfeeding", the link that says "Instructions for using Breast Pumps"...I would like that text to line up. What do I add to the css and where? Thanks! Amy
open includes/templates/YOUR_TEMPLATE/css/stylesheet_footer_menu.css
find the following declaration and make the highlighted change:
li a {margin:0;padding-left:2em;white-space: nowrap;}
Re: Footer Menu Support Thread
Quote:
Originally Posted by
haredo
This tutorial will help you think of the right process.
I did it and worked really well...except I would like to keep copyright information on pages and not footer. includes/temp/common/tpl_main_page.php
HTML Code:
// the following IF statement can be duplicated/modified as needed to set additional flags
if (in_array($current_page_base,explode(",",'login,account,no_account,checkout,create_account,conditions,privacy,site_map,returns,shopping_cart,checkout_shipping,checkout_payment,checkout_confirmation,checkout_success,account,account_back_in_stock_notifications,account_newsletters,account_notifications')) ) {
$flag_disable_right = true;
$flag_disable_left = true;
$flag_disable_header = true;
$flag_disable_footer = true;
}
How do I keep copyright? Thanks,Kim
Re: Footer Menu Support Thread
Quote:
Originally Posted by
kburner
I did it and worked really well...except I would like to keep copyright information on pages and not footer. includes/temp/common/tpl_main_page.php
HTML Code:
// the following IF statement can be duplicated/modified as needed to set additional flags
if (in_array($current_page_base,explode(",",'login,account,no_account,checkout,create_account,conditions,privacy,site_map,returns,shopping_cart,checkout_shipping,checkout_payment,checkout_confirmation,checkout_success,account,account_back_in_stock_notifications,account_newsletters,account_notifications')) ) {
$flag_disable_right = true;
$flag_disable_left = true;
$flag_disable_header = true;
$flag_disable_footer = true;
}
How do I keep copyright? Thanks,Kim
What you want to do will require editing/modifying several files.
I'd need to work out exactly which files would be involved.
Re: Footer Menu Support Thread
Quote:
Originally Posted by
clydejones
open includes/templates/YOUR_TEMPLATE/css/stylesheet_footer_menu.css
find the following declaration and make the highlighted change:
li a {margin:0;padding-left:2em;white-space: nowrap;}
Thank ye muchly!
Re: Footer Menu Support Thread
Quote:
Originally Posted by
Doodlebuckets
Thank ye muchly!
You're most welcome
Re: Footer Menu Support Thread
Quote:
Originally Posted by
clydejones
What you want to do will require editing/modifying several files.
I'd need to work out exactly which files would be involved.
Hi clydejones,
I am looking to disable footer on login,checkout pages, but would still like to display the copyright information. Were you able to figure out what file to modify?
Thanks, Kim
Re: Footer Menu Support Thread
Quote:
Originally Posted by
kburner
Hi clydejones,
I am looking to disable footer on login,checkout pages, but would still like to display the copyright information. Were you able to figure out what file to modify?
Thanks, Kim
You'll need to edit
includes/templates/YOUR_TEMPLATE/common/
tpl_footer.php
tpl_tpl_main_page.php
Re: Footer Menu Support Thread
Quote:
Originally Posted by
clydejones
You'll need to edit
includes/templates/YOUR_TEMPLATE/common/
tpl_footer.php
tpl_tpl_main_page.php
I am taking a guess at this....
In tpl_main_page - would I add:
HTML Code:
// the following IF statement can be duplicated/modified as needed to set additional flags
if (in_array($current_page_base,explode(",",'login,account,no_account,checkout,create_account,conditions,privacy,site_map,returns,shopping_cart,checkout_shipping,checkout_payment,checkout_confirmation,checkout_success,account,account_back_in_stock_notifications,account_newsletters,account_notifications')) ) {
$flag_disable_right = true;
$flag_disable_left = true;
$flag_disable_header = true;
$flag_disable_footer = true;
}
To disable footer on these pages.
For tpl_footer - what do I modify in the bottom statement to get copyright only to show?
HTML Code:
<!--bof- site copyright display -->
<div id="siteinfoLegal" class="legalCopyright"><?php echo FOOTER_TEXT_BODY; ?></div>
<!--eof- site copyright display -->
<?php
} // flag_disable_footer
?>
Thank you, Kim
Would I add