Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.

Change Centerbox Width

Locked

Started by outlawlb on 16 Jan 2007, 1:28 PM · Views: 2,156

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
16 Jan 2007, 1:28 PM
#1
outlawlb avatar

outlawlb

New Zenner

Join Date:
Jan 2007
Posts:
86
Plugin Contributions:
0

Post #1 by outlawlb

I am having problems finding the aspect of the stylesheet to change the width of the centerbox to get to the right hand edge?

Is this in the code though?

From product_listing.php with the Column Layout Grid for Product Listing installed:

// Following code will be executed only if Column Layout (Grid Layout) option is chosen
if (PRODUCT_LISTING_LAYOUT_STYLE == 'columns') {
$lc_text = implode('<br />', $product_contents);
$list_box_contents[$rows][$column] = array('params' => 'class="centerBoxContentsProducts centeredContent back"' . ' ' . 'style="width:' . $col_width . '%;"',
'text' => $lc_text);
$column ++;
if ($column >= PRODUCT_LISTING_COLUMNS_PER_ROW) {
$column = 0;
$rows ++;
}
}
// End of Code fragment for Column Layout (Grid Layout) option in add on module

16 Jan 2007, 6:29 PM
#2
kobra avatar

kobra

Black Belt

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

Post #2 by kobra

Post a url and a bit more about what your issue is

Zen-Venom Get Bitten

16 Jan 2007, 8:30 PM
#3
outlawlb avatar

outlawlb

New Zenner

Join Date:
Jan 2007
Posts:
86
Plugin Contributions:
0

Post #3 by outlawlb

Well the whole site is still in development, and as of right now I do not want to post a link (because of the products and a potential issue with that), but I can expand upon my problem:

It is that centerbox that states: "New Products For [Month]" - [Product Category]

I want to have the width of that centerbox extended further to the edge of the main layout.

Does that clarify it?

17 Jan 2007, 3:23 AM
#4
kobra avatar

kobra

Black Belt

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

Post #4 by kobra

Is this a 3 column layout? or a 2 column layout?

Is it a fixed width and what is it? Or a 100% width layout?

Where does the left side register? and where do you want the right side to register?

Too many variables to account for with out some visualization

Zen-Venom Get Bitten

20 Jan 2007, 11:37 PM
#5
outlawlb avatar

outlawlb

New Zenner

Join Date:
Jan 2007
Posts:
86
Plugin Contributions:
0

Post #5 by outlawlb

Where can I check those?

21 Jan 2007, 8:55 AM
#6
carilivia avatar

carilivia

New Zenner

Join Date:
Dec 2006
Posts:
32
Plugin Contributions:
0

Post #6 by carilivia

I could be wrong...but I think you are wanting the right column gone? And the center column to extend all the way to the right hand edge.
If that is correct then the way to make that happen is to go to Admin>Configuration>Layout Settings 14 rows down on the list is "Column Right Status -Global" Click on Edit and switch to 0 (off) and it will disable the right column and make your main page go all the way across!
Hope that's the fix you are looking for! =0)

21 Jan 2007, 10:03 PM
#7
outlawlb avatar

outlawlb

New Zenner

Join Date:
Jan 2007
Posts:
86
Plugin Contributions:
0

Post #7 by outlawlb

No it is close though.

I need the right column on the product info pages.

24 Jan 2007, 10:28 PM
#8
gjh42 avatar

gjh42

Black Belt

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

Post #8 by gjh42

There are switches available in tpl_main_page.php to disable or enable things like the right column for particular pages. Read the comments there for more specific directions.
You can set $flag_disable_right to true unless the main page is product info.