Results 1 to 5 of 5
  1. #1
    Join Date
    Apr 2005
    Posts
    298
    Plugin Contributions
    0

    help question Help with spacing

    On the frontpage of my site im trying to get spacing between the product name, price and choose your option.

    Can be seen here in the new products for march box:
    http://1divasrus.com/divasrus2/index.php?main_page=

    Can someone tell me where and how to get it so it is not all together like that. just need some spacing between it all.

    Thank You
    [FONT=Comic Sans MS]Don Scott
    http://dealz-r-us.com
    [/FONT]

  2. #2
    Join Date
    Feb 2010
    Posts
    2,159
    Plugin Contributions
    17

    Default Re: Help with spacing

    your template was built with tables - ZC & tables not good together

    since your new products was built with tables and has no class or id tags I am gonna assume the layout is embedded in the file itself

    open:
    l/includes/modules/CUSTOM_TEMPLATE/new_products.php

    you will probably have to insert . '<br>' . between name, price, ect

    Hope this helps!

  3. #3
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

    Default Re: Help with spacing

    Quote Originally Posted by dscott1966 View Post
    On the frontpage of my site im trying to get spacing between the product name, price and choose your option.

    Can be seen here in the new products for march box:
    http://1divasrus.com/divasrus2/index.php?main_page=

    Can someone tell me where and how to get it so it is not all together like that. just need some spacing between it all.

    Thank You
    Ds,
    You would need to post this file for me to look at the coding but the example below you should see similiar coding to help find the <br> in your version and add another one ride beside it to give you another space..
    includes/modules/new_products.php

    1. remember to place in your override directory
    2. includes/modules/divasrus/new_products.php
    3. look below at the red <br />
    4. your template you purchased you will have <br> find them in your version and add another one right beside it..
    while (!$new_products->EOF) {
    $products_price = zen_get_products_display_price($new_products->fields['products_id']);
    if (!isset($productsInCategory[$new_products->fields['products_id']])) $productsInCategory[$new_products->fields['products_id']] = zen_get_generated_category_path_rev($new_products->fields['master_categories_id']);

    $list_box_contents[$row][$col] = array('params' => 'class="centerBoxContentsNew centeredContent back"' . ' ' . 'style="width:' . $col_width . '%;"',
    'text' => (($new_products->fields['products_image'] == '' and PRODUCTS_IMAGE_NO_IMAGE_STATUS == 0) ? '' : '<a href="' . zen_href_link(zen_get_info_page($new_products->fields['products_id']), 'cPath=' . $productsInCategory[$new_products->fields['products_id']] . '&products_id=' . $new_products->fields['products_id']) . '">' . zen_image(DIR_WS_IMAGES . $new_products->fields['products_image'], $new_products->fields['products_name'], IMAGE_PRODUCT_NEW_WIDTH, IMAGE_PRODUCT_NEW_HEIGHT) . '</a><br />') . '<a href="' . zen_href_link(zen_get_info_page($new_products->fields['products_id']), 'cPath=' . $productsInCategory[$new_products->fields['products_id']] . '&products_id=' . $new_products->fields['products_id']) . '">' . $new_products->fields['products_name'] . '</a><br />' . $products_price);
    Last edited by haredo; 11 Mar 2011 at 01:47 AM.

  4. #4
    Join Date
    Apr 2005
    Posts
    298
    Plugin Contributions
    0

    Default Re: Help with spacing

    Quote Originally Posted by haredo View Post
    Ds,
    You would need to post this file for me to look at the coding but the example below you should see similiar coding to help find the <br> in your version and add another one ride beside it to give you another space..
    Sorry took so long to get back with you, But Thank You it worked for me....
    [FONT=Comic Sans MS]Don Scott
    http://dealz-r-us.com
    [/FONT]

  5. #5
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

    Default Re: Help with spacing

    Awe ... much better and you are most welcome ...

 

 

Similar Threads

  1. Need help with the spacing of Item Listing
    By comicmegastore in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 24 Jun 2010, 08:50 AM
  2. Help with Spacing Sideboxes
    By daltonkost in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 13 Mar 2010, 02:15 AM
  3. Help with spacing between pricing and dimensions
    By dpet102 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 25 Jul 2009, 08:19 AM
  4. Help please with spacing of categories
    By karenkte in forum General Questions
    Replies: 0
    Last Post: 26 Sep 2008, 09:36 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