Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15
  1. #11
    Join Date
    Apr 2009
    Posts
    2,134
    Plugin Contributions
    3

    Default Re: Why the big empty space between the first and second attribute?

    the cheeky css fix is to try:

    Code:
    #attrib-3-5{
    float:left;
    }
    you'll need to do a rule for each attribute

  2. #12
    Join Date
    Mar 2009
    Posts
    15
    Plugin Contributions
    0

    Default Re: Why the big empty space between the first and second attribute?

    thanks Nick for the link to your posts. That bit of css for a2d's problem helped me get things going...

    I have a worked out rough solution with css, but its not right IMO. I would still like to find a better control for how the attributes align and display. Once I add images to the attributes everything goes wacky.

    I suspect that the code for //checkboxes in ...modules/attributes.php would need a new case for my idea. Which is way beyond my abilities.

    or figure out a way to have each piece of the attribute code — input, label, img — that make up the tpl_modules_attributes.php statement <?php echo $options_menu[$i]; ?> specify classes or ids that can be targeted easier.

    or I just don't know enough to do it differently.

    or all of the above.

    if you have ideas I would love to hear them.
    Solve for x?
    No, x needs to solve it for himself, or else he'll never learn.

  3. #13
    Join Date
    Mar 2009
    Posts
    15
    Plugin Contributions
    0

    Default Re: Why the big empty space between the first and second attribute?

    Nick, I hacked around a bit in attributes.php and got the "case 0" attribute setting to insert #id names for the input checkbox and changed the label class so I can write a single CSS rule instead of one for each specific attribute (attrib-?-?) as before...

    Code:
    case '0':
                          $tmp_checkbox .= zen_draw_checkbox_field('id[' . $products_options_names->fields['products_options_id'] . ']['.$products_options_value_id.']', $products_options_value_id, $selected_attribute, 'id="attributecheckbox"') . '<label class="attributelabel" for="' . 'attrib-' . $products_options_names->fields['products_options_id'] . '-' . $products_options_value_id . '">' . $products_options_details . '</label><br />' . "\n";
                          break;
    now to test it out...
    Solve for x?
    No, x needs to solve it for himself, or else he'll never learn.

  4. #14
    Join Date
    Apr 2009
    Posts
    2,134
    Plugin Contributions
    3

    Default Re: Why the big empty space between the first and second attribute?

    sounds like you are making good progress.

    let me know if I can help. And post your code so that others can see what you are doing. It always helps someone.

  5. #15
    Join Date
    Dec 2010
    Posts
    60
    Plugin Contributions
    0

    Default Re: Why the big empty space between the first and second attribute?

    Thanks for the reply. This did not work though.

    Thank you for the effort,
    Fred McCaughey
    www.idsupply.co

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. How do I remove the space between the header and the breadcrumb?
    By vinnybhaskar in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 5 Feb 2009, 06:40 AM
  2. How do I *tighten up* the space between the header and the start of the content.
    By comicart in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 16 Sep 2008, 05:08 PM
  3. How Do i create space between the store and the top of the browser window?
    By yoyodyne in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 7 May 2008, 04:55 PM
  4. Space between first and second attribute
    By Stormshade in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 14 Jul 2007, 05:33 PM
  5. The space between the boxes in columns left and right?
    By Reesy in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 30 May 2006, 06:09 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR