...

View Full Version : Forum Code Need Help Please



Dee2012
07-29-2012, 07:19 PM
Hi

This is my forum page

http://tinyurl.com/cfd62dk

I cannot find which file to edit to change the width of the input boxes for the Custom Profile fields (full name, caravan number etc), anyone know where? I have looked in Register.php and Profile.template.php, but can't see it, but then I'm no php guru, so maybe I'm missing it but don't think so.

Also throughout the forum in FF the text looks Arial but in IE it looks different it looks like Times? I have the css set to use arial across the forum

Thanks in advance.

Dee

PS I am using SMF

tempz
07-29-2012, 07:34 PM
It would be in the themes folder, if not under the css.

If you look in the css file, under "input, button, select, textarea"

It has a font-size, try modifying that, if that doesn't work, add a custom size :)

Dee2012
07-29-2012, 07:46 PM
Hi

Changing the font size in the css changes all the input boxes I just want to change the width of the input fields for the bottom 3, firebug shows me the code to change:

<input type="text" class="input_text" value="" size="50" maxlength="255" name="customfield[cust_fullna]">

But I can't see what file that line is in.

tempz
07-29-2012, 07:52 PM
Change Size=50


<input type="text" class="input_text" value="" size="50" maxlength="255" name="customfield[cust_fullna]">

to 30?


<input type="text" class="input_text" value="" size="30" maxlength="255" name="customfield[cust_fullna]">

This changes the width :P

Dee2012
07-29-2012, 07:58 PM
I know how to change it :) I just don't know which file that line of code is in?

I looked in the default themes folder at both Register.php and Profile.template.php and it's in neither of those

Dee2012
07-30-2012, 06:33 PM
Well I found where to change the text box widths it was in Sources/Profile.php

I still have the problem of the font across the site looking like times in IE?

Anyone have any ideas why?

It is set as Arial throughout the css and is showing correctly in FF.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum