Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 2007
    Posts
    649
    Plugin Contributions
    0

    Default Move update button in shopping cart

    How do I move my update button by the zip code on the shopping cart. For some reason it is far right and I want it next to the zip code box.

    I know I did this in my 1.3.7 cart, but for the life of me can't remember how I did it and I can not find it anywhere in the forum either.
    Thanks for your help!

  2. #2
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,975
    Plugin Contributions
    0

    Default Re: Move update button in shopping cart

    This is being subjected to the style classes .buttonrow and .forward .

    In the stylesheet, .forward is given a property of "float" and a value of "right" , and as other elements are dependant on this style, it would be unwise to change that value to "left" just to satisfy this instance of the selector.

    It would be better to edit the core file. As your cart is a "blend" of shopping cart and shipping estimator, I'm not sure what file you need to edit, but you need to find the DIV in which the button sits, and where you see .forward, change it to .back (The selector ".buttonRow" will appear just before it.)

  3. #3
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,197
    Plugin Contributions
    0

    Default Re: Move update button in shopping cart

    Quote Originally Posted by helpme View Post
    How do I move my update button by the zip code on the shopping cart. For some reason it is far right and I want it next to the zip code box.

    I know I did this in my 1.3.7 cart, but for the life of me can't remember how I did it and I can not find it anywhere in the forum either.
    Thanks for your help!
    H,includes/ templates/ your-own_template/ css/ stylesheet.css/ This is what I view, You will half to seperate the .forward declaration from the sheet...
    .forward, #shoppingCartDefault #PPECbutton {stylesheet.css (line 719)
    float:right;
    } Change to:
    #shoppingCartDefault #PPECbutton {float:right;} Then, add the new declaration to the sheet right below the above.
    .forward {float: left;}

  4. #4
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,975
    Plugin Contributions
    0

    Default Re: Move update button in shopping cart

    Quote Originally Posted by haredo View Post
    H,includes/ templates/ your-own_template/ css/ stylesheet.css/ This is what I view, You will half to seperate the .forward declaration from the sheet...
    .forward, #shoppingCartDefault #PPECbutton {stylesheet.css (line 719)
    float:right;
    } Change to:
    #shoppingCartDefault #PPECbutton {float:right;} Then, add the new declaration to the sheet right below the above.
    .forward {float: left;}
    This was my initial thought, Haredo, but the .forward selector is used quite often through the site.

    What about a PAGE-SPECIFIC custom Stylesheet? Create a stylesheet for shopping cart where you can declare .forward to float left?

    (But as the poster's cart is a BLEND of shopping cart and shipping estimator, what is this new page called - is it still shopping cart?

 

 

Similar Threads

  1. v155 Update Button of Shopping Cart Reduces Quantity in Cart
    By mc12345678 in forum Bug Reports
    Replies: 2
    Last Post: 29 Jul 2016, 12:26 PM
  2. Changing update cart and delete button in shopping cart to text.
    By k1ra in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 28 Mar 2014, 10:52 PM
  3. Move PayPal button in shopping cart
    By djd5059 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 3 Jul 2010, 10:02 PM
  4. shopping cart - hide the Cart Quantity Update button when not needed
    By dause in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 1 Oct 2009, 04:28 AM
  5. replacing update button on shopping cart
    By ebaobao in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 15 Aug 2008, 09:10 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