• Resolved doctorpeter

    (@doctorpeter)


    Hi
    Is there a way to either close up the gap between the cart/buy buttons or arrange them to be side by side horizontally.
    Easy Shopping Cart

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Jason Pan

    (@jasonxpan)

    You can achieve this using CSS on your theme. Please see documentation such as display:inline/flex or even different columns in rows.

    Thread Starter doctorpeter

    (@doctorpeter)

    Thank you for your prompt response.

    I have added some css to the theme but am clearly addressing the wrong item. I tried
    .paypalbutton {
    display: inline-block;
    background-color: #2980B9;
    {

    and

    .crp-list-item.crp-list-item-has-image {
    display: inline-block;
    }

    But this is incorrect. I am using the WP plugin ‘PayPal Shopping Cart’ and cannot identify the reference I should be using for [View cart] and [Add to Cart] buttons.

    Your advice would be appreciated.
    Peter

    Jason Pan

    (@jasonxpan)

    <div class=”first”>[wpepsc name=’example product name’ price=’6.99′] </div>
    <div class=”second”>[wpepsc_cart]</div>

    So we wrap our buttons in div’s actually so sorry for the miscommunication. You can target using this:

    .first {
    display:inline!important;
    }

    .first div {
    display:inline!important;
    }

    .first form {
    display:inline!important;
    }

    .second {
    display: inline!important;
    }

    .second div {
    display: inline!important;
    }

    .second form {
    display: inline!important;
    }

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Aligning the buttons to be horizontal’ is closed to new replies.