Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Custom add to cart button too small

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Tweaks › Custom add to cart button too small

Tagged: add to cart, checkout button, css, shopping cart, tweak

  • This topic has 6 replies, 4 voices, and was last updated 10 years, 2 months ago by wpCommerce.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • February 11, 2015 at 12:48 am #12191
    rldev
    Member

    I am trying to add a custom add to cart button for one of my products. Wp Estore is shrinking this button down to a size that isn’t readable. How do I fix this?

    [https://aliveandhealthy.com/new-website/the%20happiness%20revolution/]

    February 11, 2015 at 12:55 am #68529
    rldev
    Member

    I changed the css to:

    .page_content input:not([type=”checkbox”]):not([type=”radio”]):not([type=”submit”]):not([type=”button”]):not([type=”file”]) {

    height:auto;

    line-height:33px;

    margin-bottom:20px;

    padding:6px;

    width:55%;

    }

    setting height to auto fixes this problem.

    But I can not center the image on the page no matter what I try.

    February 11, 2015 at 12:57 am #68530
    rldev
    Member

    I take that back, setting that to auto messed up a lot of other buttons and fields.

    So how do I can eStore to use the actual image size for the button without altering other buttons and fields on the site. I saw in the forum how to center the shortcode by using <div> instead of <p>

    February 11, 2015 at 1:22 am #68531
    admin
    Keymaster

    You should always target the CSS class more uniquely then apply CSS tweaks (otherwise it affects too many elements). Your theme is doing this (applying a small height to all input elements without being specific) which is causing this issue in the first place.

    Remove your changes then do the following:

    Grab this custom CSS plugin:

    https://www.tipsandtricks-hq.com/wordpress-custom-css-plugin-6413

    Then add the following code in there:

    .eStore_add_to_cart_button {
    height: auto !important;
    }

    February 11, 2015 at 2:32 pm #68532
    rldev
    Member

    As always, thanks for the great support. I wish I could say the same for the theme authors.

    February 16, 2015 at 6:56 pm #68533
    AnisA
    Member

    Hello, I tried this but it didn’t work. The checkout button is still too small.

    February 16, 2015 at 10:31 pm #68534
    wpCommerce
    Moderator

    @AnisA, Please provide a link to the page in question so I can take a look.

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ