Zen Cart Logo
Forums / Addon Templates / FOOTER: IP Address and Copyright on same line? - Ashley Pink

FOOTER: IP Address and Copyright on same line? - Ashley Pink

Views: 2,513

Results 1 to 8 of 8
18 Sep 2011, 12:33 PM
#1
scully avatar

scully

Zen Follower

Join Date:
Dec 2010
Posts:
257
Plugin Contributions:
0

FOOTER: IP Address and Copyright on same line? - Ashley Pink

What's the command I need to center a line in php, vertically and horizontally? When I modified my footer to get rid of all the Quick Links, etc., it brought the Copyright / Powered By line right up to the top of the pink footer section, and I'd like it to be centered vertically as well as horizontally.

I looked at includes/templates/ashley_pink/common/tpl_footer.php but that didn't really seem to be the right page...should I be looking for a different footer page?

18 Sep 2011, 1:23 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: FOOTER: IP Address and Copyright on same line? - Ashley Pink

It is on two lines, but it's centered in a stock Zencart installation, so we'll need to see the site to see what you've done so far.

You would most likely do what you want to do in the stylesheet.

19 Sep 2011, 12:49 PM
#3
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: FOOTER: IP Address and Copyright on same line? - Ashley Pink

Scully:

What's the command I need to center a line in php, vertically and horizontally? When I modified my footer to get rid of all the Quick Links, etc., it brought the Copyright / Powered By line right up to the top of the pink footer section, and I'd like it to be centered vertically as well as horizontally.

I looked at includes/templates/ashley_pink/common/tpl_footer.php but that didn't really seem to be the right page...should I be looking for a different footer page?

If you post a link to your site, I can take a look.

Thanks,

Anne

21 Sep 2011, 1:31 AM
#4
scully avatar

scully

Zen Follower

Join Date:
Dec 2010
Posts:
257
Plugin Contributions:
0

Re: FOOTER: IP Address and Copyright on same line? - Ashley Pink

I sent you the url via PM, but I guess you didn't read my message. http://www.becca-sinh.com/shopping-cart/

22 Sep 2011, 11:17 PM
#5
scully avatar

scully

Zen Follower

Join Date:
Dec 2010
Posts:
257
Plugin Contributions:
0

Re: FOOTER: IP Address and Copyright on same line? - Ashley Pink

Hello? I really would like to get this, and my other question, answered so I can finish building this site for my client. Thanks!

22 Sep 2011, 11:47 PM
#6
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: FOOTER: IP Address and Copyright on same line? - Ashley Pink

Find this rule in your stylesheet_footer_menu.css#siteinfoLegal {padding: .5em 0 0;font-size: 0.9em;/*text-align:right;*/width:80%;line-height:normal;clear:both;color:#fffffd;margin-left:20px;float:left;margin-top:-40px;}and change to ```
#siteinfoLegal {padding: .5em 0; font-size: 0.9em; text-align: center; color: #fffffd; margin: -35px 0 0;}

22 Sep 2011, 11:56 PM
#7
scully avatar

scully

Zen Follower

Join Date:
Dec 2010
Posts:
257
Plugin Contributions:
0

Re: FOOTER: IP Address and Copyright on same line? - Ashley Pink

Thanks very, very much! I figured I'd gotten dropped through the cracks, easy enough to do when you guys are busy answering so many questions! :wacko: But I really do need to get this finished. I'll make the change right away!

23 Sep 2011, 12:01 AM
#8
scully avatar

scully

Zen Follower

Join Date:
Dec 2010
Posts:
257
Plugin Contributions:
0

Re: FOOTER: IP Address and Copyright on same line? - Ashley Pink

Perfect, THANK YOU!!!!!! :D