Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    New Coder
    Join Date
    Mar 2012
    Posts
    50
    Thanks
    3
    Thanked 0 Times in 0 Posts

    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

  • #2
    Regular Coder
    Join Date
    Jul 2012
    Location
    London
    Posts
    473
    Thanks
    4
    Thanked 86 Times in 86 Posts
    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

  • #3
    New Coder
    Join Date
    Mar 2012
    Posts
    50
    Thanks
    3
    Thanked 0 Times in 0 Posts
    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.

  • #4
    Regular Coder
    Join Date
    Jul 2012
    Location
    London
    Posts
    473
    Thanks
    4
    Thanked 86 Times in 86 Posts
    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

  • #5
    New Coder
    Join Date
    Mar 2012
    Posts
    50
    Thanks
    3
    Thanked 0 Times in 0 Posts
    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

  • #6
    New Coder
    Join Date
    Mar 2012
    Posts
    50
    Thanks
    3
    Thanked 0 Times in 0 Posts
    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.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •