Results 1 to 5 of 5
  1. #1
    Join Date
    Mar 2005
    Posts
    35
    Plugin Contributions
    0

    Default Dropdown menu spacing issue

    Hey Zenners,
    Quick question: I have some spacing issues with two dropdown menus.
    http://www.eclimbmedia.com/images/Picture1.jpg

    How can I have them size (DD) menu sit below the Color menu (DD) with out the white space?

    Thanks,
    CH

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

    Default Re: Dropdown menu spacing issue

    It's extremely difficult to diagnose a problem like this from a jpg. Happily for you, we've seen this one before.

    Each attribute has a <br class="clearBoth" /> tag after it. So when the first attribute is in line with the add to cart box, the second can't start until after the end of that cart box.

    The quickest solution (not one that I particularly like) would be to create an new clearLeft class and apply that instead between each attribute. Another would be to wrap an additional div around the attributes so that the impact of the clearBoth class extends only to the edge of the div and not all the way across the center column.
    Kuroi Web Design and Development | Twitter

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

  3. #3
    Join Date
    Mar 2005
    Posts
    35
    Plugin Contributions
    0

    Default Re: Dropdown menu spacing issue

    would I add the div tag to the tpl_product_info.php or top modules_attribute file.php?

    Thanks,
    CH

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

    Default Re: Dropdown menu spacing issue

    Inside tpl_modules_attributes would be better (more contained) but you may not even have to do this, as in default Zen Cart there's one already there (#productAttributes), so it may be sufficient to force this to play the role discussed above by giving it an explicit width of 49% say, so that it stops short of the add to cart box.
    Kuroi Web Design and Development | Twitter

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

  5. #5
    Join Date
    Mar 2005
    Posts
    35
    Plugin Contributions
    0

    Default Re: Dropdown menu spacing issue

    Thanks. That fixed it.

    - CH

 

 

Similar Threads

  1. v151 Spacing issue - FB icon and text "become an Fan" on "Connect" Mega Menu
    By Surbhi in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 1 May 2013, 08:06 PM
  2. v139h Spacing Attribute Dropdown boxes
    By top hatt in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 29 Oct 2012, 12:30 AM
  3. Header Dropdown Menu (CSS) Without the Dropdown???
    By hcd888 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 27 May 2009, 01:20 AM
  4. Issue with Horizontal Dropdown Menu
    By ideasgirl in forum Addon Templates
    Replies: 2
    Last Post: 30 Sep 2008, 10:17 PM
  5. CSS Horizontal Drop Down menu - dropdown menu width...
    By intrium in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 19 Aug 2008, 06:48 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