Results 1 to 4 of 4
  1. #1
    Join Date
    Feb 2006
    Posts
    33
    Plugin Contributions
    0

    Product list alignment

    I have changed the arrangement of my product list in the admin panel, and i would like to align the text description and title to the left, so it looks neater can anyone help???

    www.rosesofdevizes.co.uk see garden furniture for an example!

    Thanks.

  2. #2
    Join Date
    Dec 2005
    Posts
    34
    Plugin Contributions
    0

    Default Re: Product list alignment

    You need to specify $lc_align ='left' for both corresponding TABLE_HEADING "cases" around line 30 in product_listing.php and for the contents at line 130-135.

  3. #3
    Join Date
    Feb 2006
    Posts
    33
    Plugin Contributions
    0

    Re: Product list alignment

    Hi i amended the code areas below, and it didnt change the layout?
    see http://www.rosesofdevizes.co.uk/inde...=index&cPath=2

    I looked for every $lc_align which looked relevant and changed it to left. Still no change. I changed the file in modules/product_listing.php is this right??

    Thanks for your help.

    >>title
    case 'PRODUCT_LIST_NAME':
    $lc_text = TABLE_HEADING_PRODUCTS;
    $lc_align = 'left';
    $zc_col_count_description++;
    break;

    >> Product description
    if ((($rows-$extra_row)/2) == floor(($rows-$extra_row)/2)) {
    $list_box_contents[$rows] = array('params' => 'class="productListing-even"');
    } else {
    $list_box_contents[$rows] = array('params' => 'class="productListing-odd"');
    }

    $cur_row = sizeof($list_box_contents) - 1;

    for ($col=0, $n=sizeof($column_list); $col<$n; $col++) {
    $lc_align = 'left';

  4. #4
    Join Date
    Feb 2006
    Posts
    33
    Plugin Contributions
    0

    Default Re: Product list alignment

    Ok, this has been causing me problems, the above advice dod not work, but I finally figured it out. So to share, in case anyone else is trying to figure this out. I changed the css to align text left as below.

    TD.productListing-data {
    border-bottom : 1px solid #FFFFFF;
    text-align: left;
    }

 

 

Similar Threads

  1. alignment of submenu in enumerated list
    By familynow in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 23 Jan 2012, 06:47 PM
  2. Product Display List vs. Grid Alignment...
    By lazschu in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 21 Oct 2008, 01:39 AM
  3. Vertical alignment of top category list entries
    By KiwiBrian in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 30 Jul 2008, 08:21 AM
  4. alignment on list all products
    By Erica in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 27 Jan 2007, 08:06 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