Results 1 to 4 of 4

Hybrid View

  1. #1

    Default How to Text-Wrap Shopping cart icon

    Hi Everyone,

    It's difficult to explain in words, so please have a quick look at:

    http://dazzlingsoaps.com/index.php?m...roducts_id=217

    As you may have noticed, there is a big vertical distance between facial scrub and facial cleanser dropdown list. That's because the 'add to cart' icon on the right. Is there a way to get rid of this space and pack all the dropdown lists together on the left of the cart icon? I tried the wrapping option of CSS, which works for text but not for the lists...

    Thanks a lot in advance!
    -MeMo (still learning )

  2. #2

    Default Re: How to Text-Wrap Shopping cart icon

    Himm... I guess it's not possible then?

  3. #3
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: How to Text-Wrap Shopping cart icon

    This is happening because there is a <br class="clearBoth" /> below every attribute, which forces it to move below any other floated element which might be on the same line.

    You could edit the attribute-building file to eliminate this, though that might have other undesirable consequences.

    Alternatively, you could edit tpl_product_info_display.php and put the add to cart block just inside the product attributes div (or add a new div that wraps them both) and style the outer div with
    position: relative; and possibly width: 100%;
    and the add to cart div with
    position: absolute; top: 0em; right: 0em;
    so that it hugs the top right corner of the attributes space and doesn't interfere with attribute positioning.

    P.S. - I notice you have a reminder to make selections from the dropdowns. If you want to be sure they make selections, you can add another option value ("Select") to each option name, and add that as another attribute value, making it default and display only.
    Last edited by gjh42; 7 Dec 2007 at 07:07 PM.

  4. #4

    Default Re: How to Text-Wrap Shopping cart icon

    Dear Glenn,

    Thank you so much for all the ideas! I will try them :)) The 'Add to Cart on top right position' is what I need.

    -Memo

 

 

Similar Threads

  1. v139f Change Shopping Cart Icon
    By missymissy in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 11 Apr 2014, 02:43 PM
  2. v139h Remove Shopping Cart Icon
    By traytray in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 15 Oct 2012, 09:08 PM
  3. How to disable paypal icon in "Shopping Cart" page
    By branchus in forum PayPal Express Checkout support
    Replies: 3
    Last Post: 13 May 2010, 02:11 PM
  4. Adding an icon or image next to shopping cart text in header
    By dpecsok in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 26 Sep 2008, 10:21 PM
  5. How to remove text in shopping cart....
    By Paula in forum General Questions
    Replies: 5
    Last Post: 5 Jan 2008, 05:15 AM

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