Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

How to make footer image on maximum width?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-04-2010, 06:27 PM
 
admin@topdealscenter.com admin@topdealscenter.com is offline
 

Newbie
  
Join Date: Feb 2010
Posts: 7
 

Default How to make footer image on maximum width?

Hello guys and thanks for entering.
My website is http://www.topdealscenter.com/
The footer image I made is http://www.topdealscenter.com/footer.png

I have edited /customer/bottom.tpl :
Code:
<td class="footer"><img src="/footer.png"></td>

But it seems the footer table is limited to the store widths and can't exceed it..
What I want to do it stick it to the page sides and bottom like this:

http://i49.tinypic.com/2uyq0x0.gif

How can I do it? maybe by doing it with include footer.php ?
The template is original from Xcart. If you have any ideas I will appreciate your help!
__________________
4.3.1
Reply With Quote
  #2  
Old 02-04-2010, 07:21 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: How to make footer image on maximum width?

Try with making height for the body 100%, make footer with absolute positioning and bottom 0 (they are in main.css or altskin.css)

body { height: 100%}
#footer { position: absolute; bottom: 0 }

You may need to change other elements styles as well
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #3  
Old 02-04-2010, 07:24 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: How to make footer image on maximum width?

Here is your problem - your footer is 74px height but the image is 50px height. Change the footer height to 50px. Thats all you have to do
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #4  
Old 02-04-2010, 07:25 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: How to make footer image on maximum width?

Well also change the #content-container { bottom-padding } to 50px
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #5  
Old 02-05-2010, 08:18 AM
 
admin@topdealscenter.com admin@topdealscenter.com is offline
 

Newbie
  
Join Date: Feb 2010
Posts: 7
 

Default Re: How to make footer image on maximum width?

I did all of what you said and it is still not working..
I don't think it has connection to height.. its about the width..
any suggestions?

Thanks for the try
__________________
4.3.1
Reply With Quote
  #6  
Old 02-05-2010, 05:25 PM
 
admin@topdealscenter.com admin@topdealscenter.com is offline
 

Newbie
  
Join Date: Feb 2010
Posts: 7
 

Default Re: How to make footer image on maximum width?

anyone?
__________________
4.3.1
Reply With Quote
  #7  
Old 02-05-2010, 07:06 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: How to make footer image on maximum width?

take the footer out of the container with fixed width, that will make it fluid
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #8  
Old 02-06-2010, 03:50 PM
 
admin@topdealscenter.com admin@topdealscenter.com is offline
 

Newbie
  
Join Date: Feb 2010
Posts: 7
 

Default Re: How to make footer image on maximum width?

I managed to make it by editing /customer/home.tpl end:
Code:
<img src="/footer.png" width="100%"> </body> </html>

But there is hugh space between the footer and the shop..
how can I minimize the size of it? It somewhere in css padding, isn't it?
Anyone can please assist? thanks a lot guys

http://i46.tinypic.com/243f0gl.gif
__________________
4.3.1
Reply With Quote
  #9  
Old 02-07-2010, 05:59 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: How to make footer image on maximum width?

If the footer is aligned at the bottom of the browser window at all times then there is no way you can get rid of that gap - it depends on the contents in the middle section - less contents bigger gap and with bigger screen sizes the gap will get even bigger
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 10:12 PM.

   

 
X-Cart forums © 2001-2020