Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Want Two Columns For Product Display ONLY...

Want Two Columns For Product Display ONLY...

Locked

Views: 1,362

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
20 Jan 2008, 5:20 PM
#1
drewster avatar

drewster

New Zenner

Join Date:
Jan 2008
Location:
Fort Lauderdale, Florida
Posts:
8
Plugin Contributions:
0

Want Two Columns For Product Display ONLY...

I'm installing, tweaking, customizing, and taking a crash course in php and css at the same time, so if this has been addressed before, please point me in the right direction:

I want my main page, site information pages (contact, privacy statement, shipping returns), etc to be displayed in the standard three columns. But when people click on a product information page, I would like to drop the right column, move those sideboxes to the left column, and widen the main column so that it is the width of the main page main and right columns combined. This way I can have 3 or 4 items displayed across each row, with multiple rows.

  1. Have I made any sense whatsoever? (I'm running on very little sleep)
  2. Is this possible?
  3. How can it be accomplished?

Thanks!

20 Jan 2008, 6:48 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Want Two Columns For Product Display ONLY...

Take a look at /includes/templates/template_default/common/tpl_main_page.php as there are instructions in this file for what you seek

20 Jan 2008, 7:22 PM
#3
gjh42 avatar

gjh42

Black Belt

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

Re: Want Two Columns For Product Display ONLY...

The tricky part is moving the right sideboxes to the left column for those pages only. That will require some custom coding, as the sidebox location is set globally in admin.
One of the templates in downloads (I forget which) does this (globally), displaying all left and right sideboxes in the ?right column. An adaptation of that code inside a page-specific test might do the job.

21 Jan 2008, 10:43 AM
#4
drewster avatar

drewster

New Zenner

Join Date:
Jan 2008
Location:
Fort Lauderdale, Florida
Posts:
8
Plugin Contributions:
0

Re: Want Two Columns For Product Display ONLY...

Thanks for the replies! I think I've decided to just move everything into the left column and do away with the right column altogether site-wide. I've got other things to be concerned with that are more important than just "aesthetic" value.

All input is much appreciated!