Results 1 to 10 of 11

Hybrid View

  1. #1
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: centerboxwrapper trouble

    No matter. The products on top of each other is normal, but you could spread them a littel by adding the following to your stylesheet
    td.productListing-data {padding: 10px 0}
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  2. #2
    Join Date
    Jun 2006
    Posts
    71
    Plugin Contributions
    0

    Default Re: centerboxwrapper trouble

    awesome, one last thing

    how do i remove the words below the subcategory pictures (the oval shapes (sits at waist & low rise))

  3. #3
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: centerboxwrapper trouble

    /includes/templates/YOURTEMPLATE/templates/tpl_modules_category_icon_display.php
    line 14 says:
    PHP Code:
    <div align="<?php echo $align?>" id="categoryIcon" class="categoryIcon">
    <?php echo '<a href="' zen_href_link(FILENAME_DEFAULT$cPath_new'NONSSL') . '">' 
    zen_image(DIR_WS_IMAGES 
    zen_get_categories_image(zen_get_products_category_id((int)$_GET['products_id'])),
    zen_get_categories_name(zen_get_products_category_id((int)$_GET['products_id']), $_SESSION['languages_id']), CATEGORY_ICON_IMAGE_WIDTHCATEGORY_ICON_IMAGE_HEIGHT) . 
    '<br />' zen_get_categories_name(zen_get_products_category_id((int)$_GET['products_id']), $_SESSION['languages_id']) .  '</a>'?></div>
    the very last part of that says:
    PHP Code:
    '<br />' zen_get_categories_name(zen_get_products_category_id((int)$_GET['products_id']), $_SESSION['languages_id']) .  '</a>'?></div> 
    replace that last bit with:
    PHP Code:
    '<br />' '</a>'?></div> 
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  4. #4
    Join Date
    Jun 2006
    Posts
    71
    Plugin Contributions
    0

    Default Re: centerboxwrapper trouble

    much appreciated, it makes sense to me, but it didn't work

  5. #5
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: centerboxwrapper trouble

    You need to create and edit an includes/modules/YOUR_TEMPLATE/category_row.php file by removing the text marked in red below (lines 38-39)
    $list_box_contents[$row][$col] = array('params' => 'class="categoryListBoxContents"' . ' ' . 'style="width:' . $col_width . '%;"',
    'text' => '<a href="' . zen_href_link(FILENAME_DEFAULT, $cPath_new) . '">' . zen_image(DIR_WS_IMAGES . $categories->fields['categories_image'], $categories->fields['categories_name'], SUBCATEGORY_IMAGE_WIDTH, SUBCATEGORY_IMAGE_HEIGHT) . '<br />' . $categories->fields['categories_name'] . '</a>');
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  6. #6
    Join Date
    Jun 2006
    Posts
    71
    Plugin Contributions
    0

    Default Re: centerboxwrapper trouble

    that worked. thanks!!

 

 

Similar Threads

  1. Border for centerBoxWrapper
    By jabbawest in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 26 Nov 2010, 05:03 PM
  2. Customising the centerBoxWrapper
    By wotnow in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 17 Jul 2010, 02:06 PM
  3. Trouble adding new products(class=centerBoxWrapper id=whatNew) at bottom of homepage
    By Jerry5763837 in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 2 Jun 2009, 02:24 AM
  4. Where is centerBoxWrapper?
    By mlm2005 in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 5 Jul 2006, 08:23 PM

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