Skip to:

Change style of function called fields

  • Is there a way to change the style of fields that are called via a function. IE change the look of <?php bb_profile_data_form(); ?>

Viewing 5 replies - 1 through 5 (of 5 total)
  • I think CSS is all you need. The function generated the data in a table, not good I know, but it is how it is.

    What are the ID’s to modify the CSS on?

    Use Firebug (Firefox addon)or simplest(ugliest) View Page Source option.

    P.S. We are at bbPress support forums and not at a web development one

    Here is a section of the view source:

    <tr class=”form-field”>

    <th scope=”row”>

    <label for=”first_name”>First name</label>



    <input name=”first_name” id=”first_name” type=”text” value=”” />



    Now I tried and none of them made any noticeable change.:


    background-color: #171717;

    color: #00CC00;



    background-color: #171717;

    color: #00CC00;



    background-color: #171717;

    color: #00CC00;


    In order to get it to work on one of the other forms I actually put the style in the input code, but I don’t know how to access the input code as it is being called via php and isn’t a .php file in the theme.

    PHP just creates the HTML, so if you need to style HTML, you don’t need to do PHP. Just work on the HTML produced by view-source

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Skip to toolbar