Osclass forums
Support forums => Themes => Topic started by: Aficionado on September 11, 2017, 03:15:35 am
-
Hi.
While i'm able to add the php line anywhere i want in the item post file for the user to fill their phone, the formating is bad. I have tried to fix it with no luck.
The code is:
<?php if(function_exists('osc_set_telephone_number')){ osc_set_telephone_number();} ?>
and the result is in the capture.
Any help in formating this ?
Thanks
-
if i'm right, you are using theme osclasswizards where bootstrap is implemented, so you can try to add a class to the outer div
change in ../telephone/index.php ~39
<div class="box control-group">
<div class="row">
<label for="telephone"><?php _e('Phone', 'telephone'); ?></label>
<div class="controls">
<input id="telephone" type="text" value="<?php echo $detail; ?>" name="telephone"></input>
</div>
</div>
</div>
to
<div class="col-xs-12 box control-group">
<div class="row">
<label for="telephone"><?php _e('Phone', 'telephone'); ?></label>
<div class="controls">
<input id="telephone" type="text" value="<?php echo $detail; ?>" name="telephone"></input>
</div>
</div>
</div>
-
Thanks Liath, works very nice.
;D