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

eStore – Having problems with input boxes of custom price (pay what you want)

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Tweaks › eStore – Having problems with input boxes of custom price (pay what you want)

Tagged: add product, css, custom price, pay what you want, Tweaks

  • This topic has 5 replies, 2 voices, and was last updated 10 years, 4 months ago by rldev.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • February 4, 2015 at 9:27 pm #12163
    rldev
    Member

    Hello Support, Please look at this page:

    [http://aliveandhealthy.com/new-website/donations/]

    Is there a way I can increase the width of these boxes, limit the amount of characters and better align them? The css for this seems to be drawn from the main site css. So if I tweak the padding on that, it messes up other forms on the site. I have no idea how to change the field itself. There really should be an option for this. I don’t want to have to edit the plugin code as it will be trashed on an update.

    February 4, 2015 at 9:43 pm #68428
    rldev
    Member

    Also if I set a price in the price field of the product, the donation amount I enter is not accepted, it just adds the product price.

    Example: I set product price for 5.00 so that is the minimum. But if I enter $50.00, the cart only recognizes 5.00

    February 5, 2015 at 3:08 am #68429
    admin
    Keymaster

    Step 1) Grab this custom CSS plugin:

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

    Step 2) Add the following block of CSS in the settings area of that plugin:

    input[name="custom_price"]{
    width: 100px !important;
    margin-bottom: 0px !important;
    }

    You can change 100px to whatever you need.

    I just did a test with entering 50 and it added $50 to the cart fine.

    February 5, 2015 at 3:01 pm #68430
    rldev
    Member

    That worked great. I can’t seem to find a way to put a space between the $ and the input field. Many Thanks.

    February 5, 2015 at 11:23 pm #68431
    admin
    Keymaster

    Update the custom CSS tweak I gave earlier with the following:

    input[name="custom_price"]{
    width: 100px !important;
    margin-bottom: 0px !important;
    margin-left: 10px !important;
    }

    February 6, 2015 at 12:59 am #68432
    rldev
    Member

    Perfect. Thanks.

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 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