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 Field

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › Custom Field

Tagged: textbox

  • This topic has 13 replies, 4 voices, and was last updated 9 years, 2 months ago by admin.
Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • May 30, 2010 at 1:35 am #1278
    bilink
    Member

    I want to add 2-3 custom fields, but the script only allows 1 custom field!

    I also check if I can make the box bigger but cannot find the text in the file as you mention in one of your post.

    How to make the “instruction” input box bigger

    Search for the following line in the “eStore_misc_functions.php” file:

    $var_output .= ‘Instruction : <input type=”text” name=”custom_input” value=”” />
    ’;

    Once you find it replace it with the following:

    $var_output .= ‘Instruction : <textarea name=”custom_input” cols=”20″ rows=”3″ /></textarea>
    ’;

    May 30, 2010 at 9:22 am #21062
    amin007
    Participant

    Look for the following in the “eStore_button_display_helper.php” file if you want to modify the field:

    <input type="text" name="custom_input" value="" class="eStore_text_input eStore_collect_input" />

    Change it to the following to make it a textarea:

    <textarea name="custom_input" cols="20" rows="3" class="eStore_collect_input" /></textarea>

    There will be two occurrences of this, so change them both.

    December 27, 2013 at 6:15 pm #21063
    lchevy22
    Member

    I would also like to make the “Collect Customer Input Field” larger. Please advise if the above still refers to the same issue. I want to be sure before I make any changes. Thanks.

    December 27, 2013 at 7:03 pm #21064
    lchevy22
    Member

    Seems there would be a setting in CSS to simply make the textbox bigger? Am I missing something? Thanks.

    December 27, 2013 at 11:34 pm #21065
    admin
    Keymaster

    Yes, you can use CSS to make the appearance of the custom input field bigger. That input field has the following CSS class attached to it:

    eStore_collect_input

    You can easily add your custom CSS for that class using the following plugin:

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

    December 29, 2013 at 7:55 pm #21066
    lchevy22
    Member

    Thank you so much for your response. I cannot seem to find this class in the css. However I did install the recommended plugin and add the following and I see no change

    .eStore_collect_input{

    width:200px;

    border:2px solid red;}

    Also, is there a way to make the icon in the fancy store option bigger?

    Please advise. Thanks.

    December 29, 2013 at 8:56 pm #21067
    lchevy22
    Member

    Maybe it’s helpful if I give you site: beckybillingsley.com

    Thanks again.

    December 29, 2013 at 10:26 pm #21068
    lchevy22
    Member

    Okay I did manage to make some changes. The width property seems to have no effect but I am working on it. My goal is to make the box a fixed width and height and have the words wrap inside of it. Thanks for your help. Love the custom css plugin, don’t know how I missed that one!

    December 29, 2013 at 11:24 pm #21069
    admin
    Keymaster

    Okay I think you are trying to make it a text area (rather than a textbox). You can’t make a textbox into a textarea just using CSS. I have just updated my original reply that will show you how you can change the textbox into a textarea. Give that a go.

    December 30, 2013 at 12:19 am #21070
    lchevy22
    Member

    Good point. Please don’t get frustrated my brain is fried at this point. Never spent so much time on a text box before. Not sure why I can’t figure this out. Please advise what original reply you are referring to. Thanks.

    December 30, 2013 at 12:28 am #21071
    lchevy22
    Member

    The above php trick seems to make it way to large no matter how many columns or rows I put in. Thanks.

    December 30, 2013 at 2:16 am #21072
    admin
    Keymaster

    post a link to the page where I can go and see that input field.

    January 2, 2014 at 6:34 pm #21073
    lchevy22
    Member

    Site is beckybillingsley.com. It is on the sidebar as a widget of all pages of the site. Thanks. Laurie

    January 2, 2014 at 11:22 pm #21074
    admin
    Keymaster

    It doesn’t look like you have applied the tweak correctly. That field is still a text input field. When you apply the tweak, it is suppose to be a text area. Have you made the change to both the placed? There are two placed on that same file that you need to make the change.

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

Forum Related

  • Forum Home
  • Forum Search
  • 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
  • WP PDF Stamper Documentation
  • WP Photo Seller 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
  • WP Photo Seller Video Tutorial

Our Other Plugins

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

Copyright © 2023 | Tips and Tricks HQ