Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 07-29-2012, 07:19 PM   PM User | #1
Dee2012
New Coder

 
Join Date: Mar 2012
Posts: 37
Thanks: 3
Thanked 0 Times in 0 Posts
Dee2012 is an unknown quantity at this point
Question Forum Code Need Help Please

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
Dee2012 is offline   Reply With Quote
Old 07-29-2012, 07:34 PM   PM User | #2
tempz
Regular Coder

 
Join Date: Jul 2012
Location: London
Posts: 436
Thanks: 4
Thanked 80 Times in 80 Posts
tempz is an unknown quantity at this point
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
tempz is offline   Reply With Quote
Old 07-29-2012, 07:46 PM   PM User | #3
Dee2012
New Coder

 
Join Date: Mar 2012
Posts: 37
Thanks: 3
Thanked 0 Times in 0 Posts
Dee2012 is an unknown quantity at this point
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.
Dee2012 is offline   Reply With Quote
Old 07-29-2012, 07:52 PM   PM User | #4
tempz
Regular Coder

 
Join Date: Jul 2012
Location: London
Posts: 436
Thanks: 4
Thanked 80 Times in 80 Posts
tempz is an unknown quantity at this point
Change Size=50

Code:
<input type="text" class="input_text" value="" size="50" maxlength="255" name="customfield[cust_fullna]">
to 30?

Code:
<input type="text" class="input_text" value="" size="30" maxlength="255" name="customfield[cust_fullna]">
This changes the width :P
tempz is offline   Reply With Quote
Old 07-29-2012, 07:58 PM   PM User | #5
Dee2012
New Coder

 
Join Date: Mar 2012
Posts: 37
Thanks: 3
Thanked 0 Times in 0 Posts
Dee2012 is an unknown quantity at this point
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 is offline   Reply With Quote
Old 07-30-2012, 06:33 PM   PM User | #6
Dee2012
New Coder

 
Join Date: Mar 2012
Posts: 37
Thanks: 3
Thanked 0 Times in 0 Posts
Dee2012 is an unknown quantity at this point
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.
Dee2012 is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:41 AM.


Advertisement
Log in to turn off these ads.