Results 1 to 8 of 8
  1. #1
    Join Date
    Jan 2007
    Posts
    88
    Plugin Contributions
    0

    Default Change Centerbox Width

    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
    ----------------------------------------

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Change Centerbox Width

    Post a url and a bit more about what your issue is
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Jan 2007
    Posts
    88
    Plugin Contributions
    0

    Default Re: Change Centerbox Width

    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?

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Change Centerbox Width

    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

  5. #5
    Join Date
    Jan 2007
    Posts
    88
    Plugin Contributions
    0

    Default Re: Change Centerbox Width

    Where can I check those?

  6. #6
    Join Date
    Dec 2006
    Posts
    32
    Plugin Contributions
    0

    Default Re: Change Centerbox Width

    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)

  7. #7
    Join Date
    Jan 2007
    Posts
    88
    Plugin Contributions
    0

    Default Re: Change Centerbox Width

    No it is close though.

    I need the right column on the product info pages.

  8. #8
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Change Centerbox Width

    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.

 

 

Similar Threads

  1. Increase centerbox width
    By pageblair in forum Addon Templates
    Replies: 18
    Last Post: 15 Dec 2010, 09:39 PM
  2. change width on the categories page (price width)
    By oberheimer in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 3 Sep 2010, 05:53 PM
  3. center column width or centerbox width
    By nohart in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 20 Apr 2010, 05:50 PM
  4. how to change the centerbox heading?
    By www.e-baguiocity.com in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 12 Jan 2009, 07:11 PM
  5. Quick question - change centerbox size
    By charmedbytina2 in forum General Questions
    Replies: 5
    Last Post: 17 May 2007, 03:15 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg