| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Need help centering...really :) | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I'm not an html dummy but for the life of me I can't figure out how to center my store. I have the table in the header template set to align="center" with a width of 750 but it's not working. Also the store front appears different on different browers. Using Mozilla Firefox my entire store front is aligned on the left side. With IE the header is centered but the rest stretches across the whole page ignoring the 750 table width.
I'd like the whole set up centered on the page with a width of 750. Where do I set this option? Template? CSS file? I couldnt' find it. Does that make any sense? I just need to know which template sets this option. I feel like an idiot because I know this must be EASY but I can't figure it out. ![]() version 3.5.3 GOLD |
|||||||
#2
|
|||||||||
|
|||||||||
![]() Can you post your skin1/customer/home.tpl here please.
Please also make sure you wrap it in [code] tags. |
|||||||||
#3
|
|||||||
|
|||||||
![]() Here you go, thanks for looking!
![]() Code:
|
|||||||
#4
|
|||||||||
|
|||||||||
![]() Try wrapping your bulk of home.tpl in a fixed width table that is centered like so.
Code:
becomes Code:
and at the bottom Code:
becomes Code:
and that forum signature needs a version #! ![]() |
|||||||||
#5
|
|||||||||
|
|||||||||
![]() simple way ...
edit rectangle_top.tpl Code:
![]()
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. ![]() ![]() |
|||||||||
#6
|
|||||||
|
|||||||
![]() I made the edit suggested by Shan (I'm all for the easy way) and my storefront is now centered in IE but still resides on the left in Firefox.
Getting closer, just not there complete yet. Thanks for the help and suggestions. Any other ideas?
__________________
version 3.5.3 GOLD |
|||||||
#7
|
|||||||||
|
|||||||||
![]() Just curious, is my site centered in firefox ( http://www.bcsengineering.com/store/catalog )? I've checked it in Mozilla, Opera and IE but I don't have firefox installed.
I do this for my centering Code:
Carrie
__________________
Custom Development, Custom Coding and Pre-built modules for X-cart since 2002! We support X-cart versions 3.x through 5.x! Home of the famous Authorize.net DPM & CIM Modules, Reward Points Module, Point of Sale module, Speed Booster modules and more! Over 200 X-cart Mods available & Thousands of Customizations Since 2002 - bcsengineering.com Please E-Mail us for questions/support! |
|||||||||
#8
|
|||||||
|
|||||||
![]() Yes it IS centered. Where did you add that table tag?
__________________
version 3.5.3 GOLD |
|||||||
#9
|
|||||||||
|
|||||||||
![]() I don't remember why at the time, but I commented out rectangle_top.tpl in customer/home.tpl and rearranged some things. So here is a snip of my home.tpl
Code:
I believe you may need to change the end of home.tpl and/or rectangle_bottom.tpl to reflect the change of the table structure. So I have the head.tpl included within the main page's table. I think what adpboss suggested was basically what I did in the end, I just did it in a different method. Hope this helps. Carrie
__________________
Custom Development, Custom Coding and Pre-built modules for X-cart since 2002! We support X-cart versions 3.x through 5.x! Home of the famous Authorize.net DPM & CIM Modules, Reward Points Module, Point of Sale module, Speed Booster modules and more! Over 200 X-cart Mods available & Thousands of Customizations Since 2002 - bcsengineering.com Please E-Mail us for questions/support! |
|||||||||
#10
|
|||||||
|
|||||||
![]() Thanks, Carrie! I'll check it out tomorrow.
__________________
version 3.5.3 GOLD |
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|