Forums / Templates, Stylesheets, Page Layout / How to add images/icons to footer?

How to add images/icons to footer?

Views: 4,591

Results 1 to 20 of 20
13 Feb 2014, 2:29 AM
#1
kelly60 avatar

kelly60

New Zenner

Join Date:
Feb 2014
Location:
southern Oregon
Posts:
21
Plugin Contributions:
0

How to add images/icons to footer?

I want to move my icons and images that I currently have in my left side column and put them along the bottom section of my footer. Can anyone tell me how to do this is simple/beginner terms, please?

Thank you! :smile:

My site incase you need an example: http://nfbotanicals.com

13 Feb 2014, 2:34 AM
#2
twitchtoo avatar

twitchtoo

Totally Zenned

Join Date:
Apr 2007
Location:
Ontario, Canada
Posts:
1,733
Plugin Contributions:
14

Re: How to add images/icons to footer?

On your site you need to move the sidebox code:

 <!--// bof: editablesidebox //--> <div class="leftBoxContainer" id="editablesidebox" style="width: 180px"> <h3 class="leftBoxHeading" id="editablesideboxHeading">Our Credentials</h3> <div id="editablesideboxContent" class="sideBoxContent"><center> We Accept Direct Credit Card Payments On Site</center> <br> <center><img src="/images/credit.jpg" alt="Credit Cards" height="54" width="150"></center> <center><img src="/images/authorizenet.jpeg" alt="Authorize Net" height="115" width="125"></center> <center> Or PayPal Express Payments No Account Needed</center> <center><img src="/images/payments.png" alt="PayPal" height="96" width="104"></center>   <hr style="width:135px;">  <center><img src="/images/rapid.jpeg" alt="SSL Certificate" height="150" width="150"></center>  <hr style="width:135px;">  <center><a href="http://sitecheck.sucuri.net/results/nfbotanicals.com" title="Safe Site" target="_blank">  <img src="/images/safesite.png" alt="Safe Site" title=" Safe Site " height="60" width="120"></a></center>   <hr style="width:135px;">  <center> <a href="/index.php?main_page=rss_feed&feed=new_products" title="RSS New Products Feed" target="_blank"><img src="/images/rss_icon.jpg" alt="RSS New Products Feed" title=" RSS New Products Feed " height="40" width="40"></a><br> <b>RSS Feeds Updates!</b></center> <br>         </div></div> <!--// eof: editablesidebox //-->

to the footer php:

<!--BOF footer menu display-->  <dl> <dd class="first"> <ul><li class="menuTitle">Quick Links</li><li><a href="http://nfbotanicals.com/">Home</a></li><li><a href="http://nfbotanicals.com/index.php?main_page=featured_products">Featured Products</a></li><li><a href="http://nfbotanicals.com/index.php?main_page=specials">Specials</a></li><li><a href="http://nfbotanicals.com/index.php?main_page=products_new">What's New</a></li><li><a href="http://nfbotanicals.com/index.php?main_page=products_all">All Products ...</a></li></ul></dd><dd class="second"> <ul><li class="menuTitle">Information</li><li><a href="http://nfbotanicals.com/index.php?main_page=about_us">About Us</a></li><li><a href="http://nfbotanicals.com/index.php?main_page=site_map">Site Map</a></li><li><a href="http://nfbotanicals.com/index.php?main_page=gv_faq">Gift Certificate FAQ</a></li><li><a href="http://nfbotanicals.com/index.php?main_page=discount_coupon">Discount Coupons</a></li></ul></dd><dd class="third"> <ul><li class="menuTitle">Customer Service</li><li><a href="http://nfbotanicals.com/index.php?main_page=contact_us">Contact Us</a></li><li><a href="http://nfbotanicals.com/index.php?main_page=shippinginfo">Shipping & Returns</a></li><li><a href="http://nfbotanicals.com/index.php?main_page=privacy">Privacy Notice</a></li><li><a href="http://nfbotanicals.com/index.php?main_page=conditions">Terms Of Service</a></li><li><a href="https://nfbotanicals.com/index.php?main_page=account">My Account</a></li></ul></dd><dd><ul><li class="menuTitle">Important Links</li>  <li><a href="http://nfbotanicals.com/index.php?main_page=wishlist">Wishlist</a></li>   <li><a href="http://nfbotanicals.com/index.php?main_page=page&id=3">Our Natural Ingredients</a></li>   <li><a href="http://nfbotanicals.com/index.php?main_page=page&id=2">References and Resources</a></li> </ul></dd> </dl>      <br class="clearBoth">  <span id="social-media"> <a class="highlightit" href="http://www.twitter.com/nfbotanicals"><img src="includes/templates/14338/images/twitter.png" class="twitter-image" alt="twitter link"></a> <a class="highlightit" href="http://www.facebook.com/naturalfamilybotanicalsproducts"><img src="includes/templates/14338/images/facebook.png" class="facebook-image" alt="facebook link"></a> </span>  <br class="clearBoth"><!--EOF footer menu display-->

Where you can arrange it within the current <ul> list or above/below the entire div/group

Twitch.
https://www.twitchtoo.com Do you work for free? Please donate.
June 7.2026 - NOW AVAILABLE - Twitch Base8 - Obsidian

13 Feb 2014, 3:15 AM
#3
kelly60 avatar

kelly60

New Zenner

Join Date:
Feb 2014
Location:
southern Oregon
Posts:
21
Plugin Contributions:
0

Re: How to add images/icons to footer?

What folder do I do this in?

13 Feb 2014, 3:24 AM
#4
twitchtoo avatar

twitchtoo

Totally Zenned

Join Date:
Apr 2007
Location:
Ontario, Canada
Posts:
1,733
Plugin Contributions:
14

Re: How to add images/icons to footer?

kelly60:

What folder do I do this in?

Without seeing your ftp/site my guess is...

look in:
includes/templates/YOUR_TEMPLATE/common/tpl_box_default_left.php

includes/languages/english/html_includes/YOUR_TEMPLATE/define_editable_sidebox_content.php

put in:
includes/templates/YOUR_TEMPLATE/common/tpl_footer.php

Or search for the text in the code I published in the last post to find all of the files that contain it, then change the ones relevant to your override template.

Twitch.
https://www.twitchtoo.com Do you work for free? Please donate.
June 7.2026 - NOW AVAILABLE - Twitch Base8 - Obsidian

14 Feb 2014, 2:15 AM
#5
kelly60 avatar

kelly60

New Zenner

Join Date:
Feb 2014
Location:
southern Oregon
Posts:
21
Plugin Contributions:
0

Re: How to add images/icons to footer?

I'm not sure how to take the code you pasted above from my sidebox and put it "below" the code that you pasted from my footer. The sidebox gets turned off/on and arranged in my admin. I guess I am confused how putting all the sidebox code at the end of the footer code will make just the RSS Feed icon, the credit card icons, SSL, Site Safe, etc. icons place below the 4 columns in my footer. I'm nervous about mixing up my site since one of my last mess ups cost me 250.00 to get fixed so I just want to double check. :)

14 Feb 2014, 4:22 AM
#6
twitchtoo avatar

twitchtoo

Totally Zenned

Join Date:
Apr 2007
Location:
Ontario, Canada
Posts:
1,733
Plugin Contributions:
14

Re: How to add images/icons to footer?

How do you want it to look/function?

I'd need admin and ftp access to do it for you.

Twitch.
https://www.twitchtoo.com Do you work for free? Please donate.
June 7.2026 - NOW AVAILABLE - Twitch Base8 - Obsidian

14 Feb 2014, 6:34 AM
#7
kelly60 avatar

kelly60

New Zenner

Join Date:
Feb 2014
Location:
southern Oregon
Posts:
21
Plugin Contributions:
0

Re: How to add images/icons to footer?

Thanks for the offer to do it for me but I need to learn this! I want to understand Zen cart better than I do right now, especially if I am going to keep using it. I know html but css is a foreign language that seems too hard for me :unsure:

I would like my footer to look kinda like this one:
http://www.wildthymebotanicals.com/catalog/

...except I would also add my Authorize and SSL icon, made in smaller pixels, of course.

Then when I move those icons from my left side box I know how to turn it off in my admin. So I just need to know how to get those icons to show along the bottom of my footer. My site: http://nfbotanicals.com/

Thank you for your help with this!

14 Feb 2014, 6:57 AM
#8
twitchtoo avatar

twitchtoo

Totally Zenned

Join Date:
Apr 2007
Location:
Ontario, Canada
Posts:
1,733
Plugin Contributions:
14

Re: How to add images/icons to footer?

Shut your sidebox off.

Add code that looks very similar to this to your footer...

I copied the block from your sidebox into your footer and stripped it of most of the formatting it had see: 'COPIED and MODIFIED FROM editablesidebox'

<!--bof-navigation display -->
<div id="navSuppWrapper">
<!--BOF footer menu display-->

<dl>
<dd class="first">
<ul><li class="menuTitle">Quick Links</li><li><a href="http://nfbotanicals.com/">Home</a></li><li><a href="http://nfbotanicals.com/index.php?main_page=featured_products&zenid=9d6acd573d5acbe8daab84f0851c2018">Featured Products</a></li><li><a href="http://nfbotanicals.com/index.php?main_page=specials&zenid=9d6acd573d5acbe8daab84f0851c2018">Specials</a></li><li><a href="http://nfbotanicals.com/index.php?main_page=products_new&zenid=9d6acd573d5acbe8daab84f0851c2018">What's New</a></li><li><a href="http://nfbotanicals.com/index.php?main_page=products_all&zenid=9d6acd573d5acbe8daab84f0851c2018">All Products ...</a></li></ul></dd><dd class="second">
<ul><li class="menuTitle">Information</li><li><a href="http://nfbotanicals.com/index.php?main_page=about_us&zenid=9d6acd573d5acbe8daab84f0851c2018">About Us</a></li><li><a href="http://nfbotanicals.com/index.php?main_page=site_map&zenid=9d6acd573d5acbe8daab84f0851c2018">Site Map</a></li><li><a href="http://nfbotanicals.com/index.php?main_page=gv_faq&zenid=9d6acd573d5acbe8daab84f0851c2018">Gift Certificate FAQ</a></li><li><a href="http://nfbotanicals.com/index.php?main_page=discount_coupon&zenid=9d6acd573d5acbe8daab84f0851c2018">Discount Coupons</a></li></ul></dd><dd class="third">
<ul><li class="menuTitle">Customer Service</li><li><a href="http://nfbotanicals.com/index.php?main_page=contact_us&zenid=9d6acd573d5acbe8daab84f0851c2018">Contact Us</a></li><li><a href="http://nfbotanicals.com/index.php?main_page=shippinginfo&zenid=9d6acd573d5acbe8daab84f0851c2018">Shipping & Returns</a></li><li><a href="http://nfbotanicals.com/index.php?main_page=privacy&zenid=9d6acd573d5acbe8daab84f0851c2018">Privacy Notice</a></li><li><a href="http://nfbotanicals.com/index.php?main_page=conditions&zenid=9d6acd573d5acbe8daab84f0851c2018">Terms Of Service</a></li><li><a href="https://nfbotanicals.com/index.php?main_page=account&zenid=9d6acd573d5acbe8daab84f0851c2018">My Account</a></li></ul></dd><dd><ul><li class="menuTitle">Important Links</li>  <li><a href="http://nfbotanicals.com/index.php?main_page=wishlist&zenid=9d6acd573d5acbe8daab84f0851c2018">Wishlist</a></li>
  <li><a href="http://nfbotanicals.com/index.php?main_page=page&id=3&zenid=9d6acd573d5acbe8daab84f0851c2018">Our Natural Ingredients</a></li>
  <li><a href="http://nfbotanicals.com/index.php?main_page=page&id=2&zenid=9d6acd573d5acbe8daab84f0851c2018">References and Resources</a></li>
</ul></dd>
</dl>
<br class="clearBoth">

<!--// bof: COPIED and MODIFIED FROM editablesidebox //-->
<h3 class="leftBoxHeading" id="editablesideboxHeading">Our Credentials</h3>
<img src="/images/credit.jpg" alt="Credit Cards" height="54" width="150">
<img src="/images/authorizenet.jpeg" alt="Authorize Net" height="115" width="125">
<img src="/images/payments.png" alt="PayPal" height="96" width="104">

<img src="/images/rapid.jpeg" alt="SSL Certificate" height="150" width="150">

<a href="http://sitecheck.sucuri.net/results/nfbotanicals.com" title="Safe Site" target="_blank">

<img src="/images/safesite.png" alt="Safe Site" title=" Safe Site " height="60" width="120"></a>

<a href="/index.php?main_page=rss_feed&feed=new_products" title="RSS New Products Feed" target="_blank"><img src="/images/rss_icon.jpg" alt="RSS New Products Feed" title=" RSS New Products Feed " height="40" width="40"></a><br>
<b>RSS Feeds Updates!</b></center>


</div></div>
<!--// bof: COPIED and MODIFIED FROM editablesidebox //-->


<span id="social-media">
<a class="highlightit" href="http://www.twitter.com/nfbotanicals"><img src="includes/templates/14338/images/twitter.png" class="twitter-image" alt="twitter link"></a>
<a class="highlightit" href="http://www.facebook.com/naturalfamilybotanicalsproducts"><img src="includes/templates/14338/images/facebook.png" class="facebook-image" alt="facebook link"></a>
</span>

<br class="clearBoth">
<!--EOF footer menu display-->
</div>
<!--eof-navigation display -->

You can then format the images to line up horizontally with CSS.

Learning will happen ;)

Twitch.
https://www.twitchtoo.com Do you work for free? Please donate.
June 7.2026 - NOW AVAILABLE - Twitch Base8 - Obsidian

14 Feb 2014, 7:20 AM
#9
kelly60 avatar

kelly60

New Zenner

Join Date:
Feb 2014
Location:
southern Oregon
Posts:
21
Plugin Contributions:
0

Re: How to add images/icons to footer?

This may seem like a dumb question but do I put the code marked COPIED AND MODIFIED FROM... into:

includes/templates/YOUR_TEMPLATE/common/tpl_footer.php?

14 Feb 2014, 7:23 AM
#10
twitchtoo avatar

twitchtoo

Totally Zenned

Join Date:
Apr 2007
Location:
Ontario, Canada
Posts:
1,733
Plugin Contributions:
14

Re: How to add images/icons to footer?

If that's the code your footer is using yes. I've seen some other templates rename the footer menu...

Look above and below the COPIED and MODIFIED FROM tags, you'll see the code your site is using. If it matches what you see in tpl_footer.php you have the right file.

Twitch.
https://www.twitchtoo.com Do you work for free? Please donate.
June 7.2026 - NOW AVAILABLE - Twitch Base8 - Obsidian

18 Feb 2014, 6:57 AM
#11
kelly60 avatar

kelly60

New Zenner

Join Date:
Feb 2014
Location:
southern Oregon
Posts:
21
Plugin Contributions:
0

Re: How to add images/icons to footer?

I finally got a chance to do this and now my footer has wording that is misaligned.

take a look here: http://nfbotanicals.com

How to I get the wording of "copyright, my busines name, Powered by Zen Cart. Zen Cart designby My Digital Fixation." to go below the row of payment icons and such? I imagine this is done in a different file but which one?

Thank you!

18 Feb 2014, 12:39 PM
#12
twitchtoo avatar

twitchtoo

Totally Zenned

Join Date:
Apr 2007
Location:
Ontario, Canada
Posts:
1,733
Plugin Contributions:
14

Re: How to add images/icons to footer?

You've added the images to the span id='social-media' that has a CSS class float: right so all the elements are floating right.

You could adjust the float and margins for the class social-media or wrap the images in a div outside of the social media container, then apply new CSS rules.

Twitch.
https://www.twitchtoo.com Do you work for free? Please donate.
June 7.2026 - NOW AVAILABLE - Twitch Base8 - Obsidian

18 Feb 2014, 5:42 PM
#13
kelly60 avatar

kelly60

New Zenner

Join Date:
Feb 2014
Location:
southern Oregon
Posts:
21
Plugin Contributions:
0

Re: How to add images/icons to footer?

twitchtoo:

You've added the images to the span id='social-media' that has a CSS class float: right so all the elements are floating right.

You could adjust the float and margins for the class social-media or wrap the images in a div outside of the social media container, then apply new CSS rules.

I tried putting them outside the span tags and it still over lapped the copyright, etc. wording along the bottom before I just left it inside the span tags last night.

Anyways, how exactly do I do what you mentioned? Sorry, I am like in second grade when it comes to zencart and css!

19 Feb 2014, 5:40 AM
#14
kelly60 avatar

kelly60

New Zenner

Join Date:
Feb 2014
Location:
southern Oregon
Posts:
21
Plugin Contributions:
0

Re: How to add images/icons to footer?

I don't see anything on the tpl_footer_menu page that says **float: right **. A where do I apply new CSS rules? For that matter, what are the new CSS rules?

Thank you for any help!

19 Feb 2014, 5:47 AM
#15
twitchtoo avatar

twitchtoo

Totally Zenned

Join Date:
Apr 2007
Location:
Ontario, Canada
Posts:
1,733
Plugin Contributions:
14

Re: How to add images/icons to footer?

includes/templates/YOUR_TEMPLATE/css/stylesheet.css

All of the default CSS rules are there, your installed template may have others... they will be added to that file, or in their own .css file...

In your case it looks like you should look in:
includes/templates/14338/css/stylesheet_footer_menu.css

Twitch.
https://www.twitchtoo.com Do you work for free? Please donate.
June 7.2026 - NOW AVAILABLE - Twitch Base8 - Obsidian

20 Feb 2014, 6:26 AM
#16
kelly60 avatar

kelly60

New Zenner

Join Date:
Feb 2014
Location:
southern Oregon
Posts:
21
Plugin Contributions:
0

Re: How to add images/icons to footer?

twitchtoo:

includes/templates/YOUR_TEMPLATE/css/stylesheet.css

All of the default CSS rules are there, your installed template may have others... they will be added to that file, or in their own .css file...

In your case it looks like you should look in:
includes/templates/14338/css/stylesheet_footer_menu.css

I looked in:
includes/templates/14338/css/stylesheet_footer_menu.css
but it's like trying to read a foreign language to me. I'm sorry...I just don't know what to do in there at all.

I really appreciate all the help you've given me, Twitchtoo, but i'm embarrassed to say that I still don't know exactly what to do. Sorry to be taking so much of your time.

16 Dec 2017, 10:43 PM
#17
idtags avatar

idtags

Zen Follower

Join Date:
Aug 2005
Posts:
315
Plugin Contributions:
0

Re: How to add images/icons to footer?

Hello,

I am converting store to responsive template.

In regular template we have credit card images in [Attachment no longer available].

Images did not show in responsive template [Attachment no longer available].

We specify location of images in

/public_html/store/includes/templates/your_template/common/tpl_footer.php:

<div id="bannerFive" class="banners"><?php echo zen_display_banner('static', $banner); ?></div> <?php } } ?> <div id="ccFooterLogo"> <img src="https://your_domain.com/store/includes/templates/your_template/images/icons/cc1.gif" alt="We accept major credit cards and PayPal"> <img src="https://your_domain.com/store/includes/templates/your_template/images/icons/cc2.gif" alt="We accept major credit cards and PayPal"> <img src="https://your_domain.com/store/includes/templates/your_template/images/icons/cc3.gif" alt="We accept major credit cards and PayPal"> <img src="https://your_domain.com/store/includes/templates/your_template/images/icons/cc4.gif" alt="We accept major credit cards and PayPal"> </div> <!--eof-banner #5 display -->

In non responsive template there is this code in the end of file:

/public_html/store/includes/templates/your_template/css/stylesheet.css

#ccFooterLogo {text-align: center;height:30px;}

How it should it be handled in responsive template to show images on PC, tablet and phone?

Should we populate all css files with the code?

Copy technique from non responsive template did not work.

We hope we are not missing any switches in admin. :huh:

Thank you for your help in advance.
:smile:

17 Dec 2017, 4:16 PM
#18
twitchtoo avatar

twitchtoo

Totally Zenned

Join Date:
Apr 2007
Location:
Ontario, Canada
Posts:
1,733
Plugin Contributions:
14

Re: How to add images/icons to footer?

idtags:

Hello,

I am converting store to responsive template.

In regular template we have credit card images in [Attachment no longer available].

Images did not show in responsive template [Attachment no longer available].

We specify location of images in

/public_html/store/includes/templates/your_template/common/tpl_footer.php:

<div id="bannerFive" class="banners"><?php echo zen_display_banner('static', $banner); ?></div> <?php } } ?> <div id="ccFooterLogo"> <img src="https://your_domain.com/store/includes/templates/your_template/images/icons/cc1.gif" alt="We accept major credit cards and PayPal"> <img src="https://your_domain.com/store/includes/templates/your_template/images/icons/cc2.gif" alt="We accept major credit cards and PayPal"> <img src="https://your_domain.com/store/includes/templates/your_template/images/icons/cc3.gif" alt="We accept major credit cards and PayPal"> <img src="https://your_domain.com/store/includes/templates/your_template/images/icons/cc4.gif" alt="We accept major credit cards and PayPal"> </div> <!--eof-banner #5 display -->

In non responsive template there is this code in the end of file:

/public_html/store/includes/templates/your_template/css/stylesheet.css

#ccFooterLogo {text-align: center;height:30px;}

How it should it be handled in responsive template to show images on PC, tablet and phone?

Should we populate all css files with the code?

Copy technique from non responsive template did not work.

We hope we are not missing any switches in admin. :huh:

Thank you for your help in advance.
:smile:
Do you have the correct data in the correct template file within the correct template - selected in admin?

I literally just added this code in the same location you have above codeshop/common/tpl_footer.php then added CSS styles and presto no problems...

<!--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 Twitch footer -->
    <div id="SupportVersions">Currently supporting Zen Cart 1.37 - 1.55e</div>    
    
    <div id="theDisclaimer">
    <a href="../disclaimer.html" title="Disclaimer">Disclaimer</a>
    </div>
<!-- eof Twitch footer -->

my css in in the stylesheet.css within the codeshop template common/tpl_footer.php

#SupportVersions {
color: gray;
font-size: small;
line-height: 1.5em;
clear: both;
margin: 5em 0 0;
}

Nothing else added.

Unless you have some parent div manually turning off the CSS in responsive devices?
I may look like this:
#navCatTabsWrapper, #navEZPagesTop, #navSuppWrapper{display:none;visibility:hidden;}
found in the **responsive_**mobile/tablet/default.php

tpl_footer.php is the actual structure of the page... therefore if you have built a wall with orange bricks... tpl_footer is the bricks and your CSS is the orange colour.

Head over to my site then click - Browse Twitch Modules, Templates and ZenCart Plugins to see the new stock Zen 1.55e running the responsive template... and a lot of my code to clean up the 'responsive' mess. Should have the bugs out of it by days end.

Twitch.
https://www.twitchtoo.com Do you work for free? Please donate.
June 7.2026 - NOW AVAILABLE - Twitch Base8 - Obsidian

17 Dec 2017, 6:35 PM
#19
idtags avatar

idtags

Zen Follower

Join Date:
Aug 2005
Posts:
315
Plugin Contributions:
0

Re: How to add images/icons to footer?

Thank you for looking in it. You are absolutely correct.

There were 2 errors in our work:

  1. Call for images was in wrong template file folder: /classic_responsive/.
    It should be in /your_template_responsive/

  2. Line #ccFooterLogo {text-align**: center****;height:30px;}** had a wrong space before word center

    It should be: **#ccFooterLogo {text-align:center;height:30px;}**
    

Now images are back on the center: [Attachment no longer available] :smile:

21 Dec 2017, 12:55 AM
#20
idtags avatar

idtags

Zen Follower

Join Date:
Aug 2005
Posts:
315
Plugin Contributions:
0

Re: How to add images/icons to footer?

I wonder if somebody experienced this problem.

When I use Inspect Tool on Google or FireFox for Iphone 6S I see a following picture: [Attachment no longer available]

I like the font and alignment.

And when I look on actual Iphone 6S I see following image: [Attachment no longer available]

Font is "Times New Roman" which is not good and Word "Search" is not aligned and is not fitting and button around word "Search' has different shape.
Shape is not big deal, but it does not work together.

It makes it moving target.

What would you recommend to use to address visualization on actual phone.

I am looking on others websites on Phone and it looks good.

So, I am thinking that my Zen cart code is not tuned, but how to synchronize PC simulation of mobile with real mobile? :mellow:

Thank you.