frictionsweb Posted November 11, 2008 Share Posted November 11, 2008 (edited) In my custom product fields Im having a horrible time finding the css that controls the width and color etc.. for the input fields. The site is located at http://www.frictionsweb.com/support/cart.php?a=add&pid=31 I want the boxes to go all the way across the page. Any thoughts? Edited November 11, 2008 by frictionsweb 0 Quote Link to comment Share on other sites More sharing options...
fishingfool Posted November 11, 2008 Share Posted November 11, 2008 You need to edit your cols="" tag within your form. You currently have it set to cols="60". I would also suggest validating your code at http://validator.w3.org/#validate_by_uri . Your code is really a mess and is going to cause you many headaches with different browsers. 0 Quote Link to comment Share on other sites More sharing options...
frictionsweb Posted November 11, 2008 Author Share Posted November 11, 2008 I will get to the code clean up when I get it done. I know how to adjust the parameters. I just don't know where the file is located so that I can adjust the size of the fields etc.. 0 Quote Link to comment Share on other sites More sharing options...
fishingfool Posted November 11, 2008 Share Posted November 11, 2008 You need to adjust the cols="60" tag within the <form> tag in the body of the page. It is html not css. Just increase your value of 60 to say 130. 0 Quote Link to comment Share on other sites More sharing options...
fishingfool Posted November 11, 2008 Share Posted November 11, 2008 For the color of the field you should be able to add (background-color: #whatever;) to your textarea1 class in your ccs. If that class is applied to other forms and you only want to change this form just create a new class and change out the textarea1 class on your input fields. 0 Quote Link to comment Share on other sites More sharing options...
frictionsweb Posted November 11, 2008 Author Share Posted November 11, 2008 All I can find anywhere in the template files that references this field area is {$customfield.input}. There are no options that I can find that gives me control of this. Am I missing something. Now I did just upgrade the system to the newest version The template you are saying is full of errors was created by WHMCS So I hope they see this... I looked at the code and you are correct. There are allot of strange tags and stuff. Bryan 0 Quote Link to comment Share on other sites More sharing options...
fishingfool Posted November 11, 2008 Share Posted November 11, 2008 How did you create the form fields in question? 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted November 11, 2008 Share Posted November 11, 2008 You cant adjust the cols. it is set in the encoded file. However CSS styling overrides the html attribute open /templates/orderforms/cart/styles.css and add this to the file and save it .cartbox td textarea {width: 712px; } 0 Quote Link to comment Share on other sites More sharing options...
frictionsweb Posted November 11, 2008 Author Share Posted November 11, 2008 Thanks for the help guys! sparky!, Exactly what I needed! You Rock! Bryan 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted November 11, 2008 Share Posted November 11, 2008 No probs... Glad to help 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.