Results 1 to 4 of 4
  1. #1
    Join Date
    Dec 2006
    Location
    Ohio
    Posts
    198
    Plugin Contributions
    0

    Default How do I get these to line up?

    I've been messing with tpl_product_info_display.php and tpl_modules_attributes.php, but I just can't get the quantity box to line up with the rest.

    http://www.ktnaturals.com/catalog/in...&products_id=6

    Also, how do I get rid of the + sign next to the attribute prices? Since I don't have a base price, the + sign makes it a bit confusing...

    Thx!

  2. #2
    Join Date
    Nov 2006
    Location
    Dartmouth, NS Canada
    Posts
    2,378
    Plugin Contributions
    0

    Default Re: How do I get these to line up?

    Your quantity box appears to be bottom-aligned, as it's tight up against the top edge of the div id=productDescription. The attributes selector to the left of it seems, on the other hand, to be top-aligned, since it's tight up against the bottom edge of the div id=productAttributes.

    Change one or the other of those alignments and it should look better.

    Rob

  3. #3
    Join Date
    Dec 2006
    Location
    Ohio
    Posts
    198
    Plugin Contributions
    0

    Default Re: How do I get these to line up?

    I've messed with it some more, but I can't find where you adjust the vertical alignment of the qty box. The qty box and the "add to cart" button are both defined in 1 statement, and I don't know how to separate them in tpl_product_info_display.php (I'm not a coder at all).
    PHP Code:
    <div id="cartAdd">
        <?php
          
    echo $display_qty;
          echo 
    $display_button;
       
    ?>
    </div>
    Thx!

  4. #4
    Join Date
    Nov 2006
    Location
    Dartmouth, NS Canada
    Posts
    2,378
    Plugin Contributions
    0

    Default Re: How do I get these to line up?

    Hi again,

    No need to modify the php code to do something like this. Just work with the stylesheet.

    I see you've made some changes, and if you're fine with what you have, okay. But for future reference, pretty much everything can be styled from within the stylesheet (in zen cart 1.3.6 anyway.)

    You'll have to track down, in your existing stylesheet, what styles are affecting these elements. Looking at the page source in your browser will help you figure out what to look for in the stylesheet. Then modify the styles until you get the desired effect, or, in some cases, create styles to do it. (I say create because, although all elements are available to be styled, quite a few are not specifically styled.)

    I'm sorry to be so vague with this, but I'm deep in the bowels of my own site at the moment and can only spare a little time to help others. Going live soon!

    Rob

 

 

Similar Threads

  1. How do I get rid of these?
    By addlink in forum General Questions
    Replies: 9
    Last Post: 21 Apr 2011, 04:20 PM
  2. How do I get rid of these????
    By lavenderrose in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 24 Aug 2010, 01:20 AM
  3. How to get these buttons next to my image
    By wagnerguy in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 25 Dec 2008, 05:23 AM
  4. How do I get rid of these banners?
    By bodyrush in forum Addon Templates
    Replies: 1
    Last Post: 19 Aug 2008, 01:48 PM
  5. How does one get these effects? (Link)
    By wakasm in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 19 Mar 2007, 04:12 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