Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17
  1. #11
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: quantity text box/ input field

    You didn't do what I said in the stylesheet. adding a margin all around the button is not going to do anything useful. You need to push or pull it down:
    Code:
    #cartAddButton {
        position: relative;
        margin: 0.1em;
        bottom: -0.5em;
    	}

  2. #12
    Join Date
    Jun 2010
    Location
    Manchester, UK
    Posts
    27
    Plugin Contributions
    0

    Default Re: quantity text box/ input field

    Sorry I did initially put in the CSS
    position: relative;
    top: 1em;

    But since that didn't seem to align the button and box I fiddled around, obviously I don't really know what I am doing so I kept making changes and saving the css file to see what effect it was having, I have been banging my head against the wall with this for about 4 hours :-/.

  3. #13
    Join Date
    Jun 2010
    Location
    Manchester, UK
    Posts
    27
    Plugin Contributions
    0

    Default Re: quantity text box/ input field

    @gjh42 I just want to say a big thank you for the code, it worked a treat! You're a star!!

  4. #14
    Join Date
    Jun 2010
    Location
    Manchester, UK
    Posts
    27
    Plugin Contributions
    0

    Default Re: quantity text box/ input field

    Sorry to be a complete pain again, I just realised something has changed on the same page. The qty text has now moved over to the right so it is now after the qty box and the add to cart button, any ideas on what I have done here? http://www.lovetolust.com/store/inde...roducts_id=181

    I just can't see what it is I might have done wrong

  5. #15
    Join Date
    Jun 2010
    Location
    Manchester, UK
    Posts
    27
    Plugin Contributions
    0

    Default Re: quantity text box/ input field

    Anybody help please?

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

    Default Re: quantity text box/ input field

    You have put a global float: left; which will probably affect many locations in your site:

    stylesheet.css (line 97)
    Code:
    FORM, SELECT, INPUT {
    	display: inline;
    	float: left;
    	font-size: 1em;
    	margin: 0.1em;
    
    
    }
    Eliminate that; if there is someplace where you need it, add a specific rule that will not mess up elements throughout the site.

  7. #17
    Join Date
    Jun 2010
    Location
    Manchester, UK
    Posts
    27
    Plugin Contributions
    0

    Default Re: quantity text box/ input field

    Once again, thank you, that did the trick :-)

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Make input field on collectinfo also display the field text as hyperlink
    By jpietrowiak in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 15 Dec 2012, 05:06 AM
  2. v139h adding text input fileld overwrites existing field
    By newbutold in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 15 Dec 2012, 01:42 AM
  3. v139h Altering Quantity field from text input to dropdown on a per-product basis?
    By jgold723 in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 31 Aug 2012, 08:06 AM
  4. Convert Text Input Field to Image?
    By ramblas in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 3 Jun 2010, 02:01 PM
  5. Text field input areas
    By Stormshade in forum Setting Up Categories, Products, Attributes
    Replies: 7
    Last Post: 10 Apr 2009, 02:52 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