Forums / Templates, Stylesheets, Page Layout / How to center featured products on main page

How to center featured products on main page

Locked

Views: 2,008

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
6 Aug 2006, 9:37 AM
#1
angelanger avatar

angelanger

New Zenner

Join Date:
Aug 2006
Posts:
40
Plugin Contributions:
0

How to center featured products on main page

The website is https://www.populuxebooks.com

I wish to center the featured products box in the white area

I also want to center the text "Welcome to Populuxe Books, the home for vintage decor and design." This text is in the includes/languages/english/index.php file.

Is it possible to do this? Thanks in advance.

6 Aug 2006, 10:28 AM
#2
steveyork136 avatar

steveyork136

New Zenner

Join Date:
Nov 2005
Posts:
84
Plugin Contributions:
0

Re: How to center featured products on main page

If you don't want to use any sideboxes on the left,

HTML way, find the table
on includes, 'your template', common, tpl_main_page.php. Around line
72 <table width="100%" border="0" cellspacing="0" cellpadding="0" id="contentMainWrapper">,
remove the contents of the left column, then merge the centre and left columns.

Zen way in your admin site
Cofiguration>Layout settings> Column Width - Left boxes. set to 0px.
Column Width - Left. Set to 0px.

Tried both ways so I know they work, but with both of these way you will not be able to use your left sideboxes.

Not sure what to do if you need the sideboxes on your other pages, but I'm sure someone here will:thumbsup:

6 Aug 2006, 10:43 AM
#3
angelanger avatar

angelanger

New Zenner

Join Date:
Aug 2006
Posts:
40
Plugin Contributions:
0

Re: How to center featured products on main page

many thanks!

6 Aug 2006, 12:43 PM
#4
tinas avatar

tinas

Totally Zenned

Join Date:
Jan 2005
Location:
Lake Havasu, AZ
Posts:
1,090
Plugin Contributions:
0

Re: How to center featured products on main page

Why would you do this when you can simply turn global columns off using your admin area?

Tools / Configuration / Layout Settings.

Not good to edit core code when you are looking to edit out things which are controlled via admin.:thumbsup:

When the world gets in my face I say Have A Nice Day.

7 Aug 2006, 5:55 AM
#5
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,858
Plugin Contributions:
18

Re: How to center featured products on main page

And....
Both of you would be well served to get a copy of FireFox with the Web Developer and HTML Validator extensions

Angel, the information portion of the web developer's toolbar will let you see exactly what to change in the css to center the items. Click Ctrl-Shift-F to see the items revealed.

Steve, it will help you find the 26 css and 7 html errors in the Motorcycle site and would help you catch the O versus 0 in #C0BFBA in your mtbtrailsuk.co.uk site.

Not jumping on you, just pointing out how helpful it can be.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com