1. PROMO Upgrade to Pro Membership @ $99 / Lifetime & access all our 16+ premium Divi extensions: Divi Block, Carousel Toolkit, etc.LEARN MORE
Dismiss Notice
NEW Divi.Help Pro Carousel AI Toolkit - Magically turn your Divi design into carousel, simply by using our online toolkit. No plugins needed. Now it works with Divi 5 as well!Try our carousel AI toolkit
BEST Divi Block - A revolutionary drag & drop tool to easily mix & match 960+ premade blocks (Light & Dark) to kick start your Divi site design. Special module designs are included as well. Also newly added AI generator & color. Now it works with Divi 5 as well!
Learn More About Divi BlockFree Version ~ 340+ Free Blocks

Align "add to cart" and "quantity" buttons

Discussion in 'Free Divi Community Forum' started by Matthew Demicoli, Jul 14, 2020.

  1. Matthew Demicoli

    Matthew Demicoli New Member

    Hi Divi community,

    I need to align the add to cart and the add quantities in the shop page as per below. upload_2020-7-14_11-50-25.png
    Inspect for the two buttons:

    <form action="?add-to-cart=30" class="cart" method="post" enctype="multipart/form-data" style="
    display: inline-block;
    "> <div class="quantity">
    <label class="screen-reader-text" for="quantity_5f0d7e092910a">Beanie quantity</label>
    <input type="number" id="quantity_5f0d7e092910a" class="input-text qty text" step="1" min="0" max="" name="quantity" value="1" title="Qty" size="4" placeholder="" inputmode="numeric">
    </div>
    <button type="submit" class="button alt">Add to cart</button></form>
    <div class="quantity">
    <label class="screen-reader-text" for="quantity_5f0d7e092910a">Beanie quantity</label>
    <input type="number" id="quantity_5f0d7e092910a" class="input-text qty text" step="1" min="0" max="" name="quantity" value="1" title="Qty" size="4" placeholder="" inputmode="numeric">
    </div>

    Thanks
     

    Attached Files:

    1. PRO MEMBER PERKS Divi Ultimate Header Plugin - Custom Divi Builder header on desktop + default slide in / fullscreen menu on mobile:Learn More
  2. Divi.Help

    Divi.Help Administrator
    Staff Member

    The default design should be aligned with each other. Kindly share your URL.
     
  3. Matthew Demicoli

    Matthew Demicoli New Member

    Hi the site is not live yet. Is there another way I could be assisted with please?
     
    1. PRO MEMBER PERKS Beautifully crafted custom colored 'Freelancer' Divi layout for all Pro members:View Demo
  4. Divi.Help

    Divi.Help Administrator
    Staff Member

    Without seeing it live, couldn't help any further on this issue.

    But you may try the below CSS in Divi > Theme Options > Custom CSS:
    Code:
    Log In or Sign Up to view this code.
     
  5. Matthew Demicoli

    Matthew Demicoli New Member

    1. PRO MEMBER PERKS Divi.Help Pro Layout Packs - Agency Divi layout pack featuring modern overlay archive blog layout with hover effects:View Demo