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 10 years, 9 months ago by admin.
-
AuthorPosts
-
May 30, 2010 at 1:35 am #1278bilinkMember
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 #21062amin007ParticipantLook 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 #21063lchevy22MemberI 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 #21064lchevy22MemberSeems 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 #21065adminKeymasterYes, 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 #21066lchevy22MemberThank 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 #21067lchevy22MemberMaybe it’s helpful if I give you site: beckybillingsley.com
Thanks again.
December 29, 2013 at 10:26 pm #21068lchevy22MemberOkay 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 #21069adminKeymasterOkay 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 #21070lchevy22MemberGood 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 #21071lchevy22MemberThe 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 #21072adminKeymasterpost a link to the page where I can go and see that input field.
January 2, 2014 at 6:34 pm #21073lchevy22MemberSite 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 #21074adminKeymasterIt 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.
-
AuthorPosts
- You must be logged in to reply to this topic.