Results 1 to 7 of 7
  1. #1
    Join Date
    Dec 2007
    Location
    Michigan
    Posts
    160
    Plugin Contributions
    0

    Default attribute options have gaps

    I am using 1.3.7. and have an attribute for a type of product that is not lining up. There are spaces between each attribute as if there is an invisible attribute taking its place. Here is one of the pages that has the problem

    http://monumentsplus.com/index.php?m...roducts_id=425

    I would like to know how to make those gaps disappear. Thank you.

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

    Default Re: attribute options have gaps

    My guess is two-fold

    First you have four across and I suspect that there is not the room for 4 or that there is confusion as to the allocated space as ZenCart attempts to divide this equally but here are a few of your image dimensions:
    width="90" height="87"
    width="89" height="88"
    width="86" height="86"
    width="87" height="88"
    width="88" height="89"

    It might be erroring on these random widths...

    Or there are other threads that deal with this allocation for other displays and you can search the threads for "floor" and try applying what you find to the tpl_product_info_display.php file for attributes or where the attributes display is called from

    A side note: You should enable your parse display and record it for several and average...
    Your pages load slowly
    Last edited by kobra; 6 Jan 2009 at 04:44 AM.
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Dec 2007
    Location
    Michigan
    Posts
    160
    Plugin Contributions
    0

    Default Re: attribute options have gaps

    Thank you for responding Kobra. I had to change the attribImg width % in my css to accomodate attributes for another product that was only 3 columns wide but was meshing together. I can't seem to find a happy medium. I did set the size in the attribute controller but that doesn't seem to make a difference. No matter what number I use, the attributes images stay the same size.

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

    Default Re: attribute options have gaps

    Akk!!! I do not think you can have one one-way and another another...

    For the one posted this looks great
    Code:
    .attribImg {
    	width: 20%;
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Dec 2007
    Location
    Michigan
    Posts
    160
    Plugin Contributions
    0

    Default Re: attribute options have gaps

    ok....I changed the attribImg to 20% and the gaps are gone. But now look at the following attributes for this product

    http://monumentsplus.com/index.php?m...roducts_id=430

    they mesh together.

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

    Default Re: attribute options have gaps

    Back to my first thought - -

    You have to standardize your attribute image widths and also for a particular item the heights

    Make these 88-90 wide like the others and any else that you ma add later
    Zen-Venom Get Bitten

  7. #7
    Join Date
    Dec 2007
    Location
    Michigan
    Posts
    160
    Plugin Contributions
    0

    Default Re: attribute options have gaps

    thank you. I will try that. I have attributes for other products that require a larger image to show the detail. I thought that by setting the sizes in the attribute controller it could handle different layouts.

 

 

Similar Threads

  1. Have attribute options show in the category list?
    By xandros2000 in forum General Questions
    Replies: 3
    Last Post: 19 Aug 2014, 09:06 PM
  2. How can I have different payment options for different shipping options?
    By Liamv in forum Built-in Shipping and Payment Modules
    Replies: 7
    Last Post: 18 Feb 2010, 04:32 AM
  3. Can I have each attribute show its price without using Priced By Attribute?
    By linuxmant in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 18 Nov 2009, 07:58 PM
  4. attribute options based on previous options chosen
    By dssprogrammer in forum Setting Up Categories, Products, Attributes
    Replies: 7
    Last Post: 19 Apr 2007, 01:26 PM
  5. text attribute gaps
    By nazzaw in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 21 Jan 2007, 04:45 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