This topic contains a post which is marked as Best Answer. Press here if you would like to see it.
*

osclassics

  • **
  • 12 posts
align a required textfield in user registration page
« on: February 17, 2016, 03:31:16 PM »
hi there Frosticek,

The BO Manager allow to require a phone number upon user registration. Then this phone number appears with the label 'Cell Phone' under the user account settings.

I would like to rename the label (which appears in the user account settings) from 'Cell Phone' to something else. How can I do this?

Thanks!
« Last Edit: February 18, 2016, 07:05:52 AM by osclassics »

*

osclassics

  • **
  • 12 posts
Re: rename a BO Mgr field label in user account
« Reply #1 on: February 17, 2016, 03:42:22 PM »
hi, found it: user profile :)

*

MB Themes

Re: rename a BO Mgr field label in user account
« Reply #2 on: February 17, 2016, 03:57:07 PM »
@osclassics
Cool ;)
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

osclassics

  • **
  • 12 posts
Re: rename a BO Mgr field label in user account
« Reply #3 on: February 17, 2016, 06:12:38 PM »
Frosticek,

I have one more question, how can I pad the textfield for 'Cell phone' a little bit to the right in User Registration page? Because it its aligned to the left and I would like to move it a bit to the right. I am trying to find where to edit the CSS, but can't find it.

Am I looking in the right direction?
Cheers!
« Last Edit: February 17, 2016, 06:26:06 PM by osclassics »

*

MB Themes

Re: rename a BO Mgr field label in user account
« Reply #4 on: February 17, 2016, 06:44:50 PM »
@osclassics
http://www.w3schools.com/css/

Code: [Select]
#selector {padding-left:5px;}
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

osclassics

  • **
  • 12 posts
Re: rename a BO Mgr field label in user account
« Reply #5 on: February 17, 2016, 07:40:46 PM »
@osclassics
http://www.w3schools.com/css/

Code: [Select]
#selector {padding-left:5px;}

But does this go in the BO Mgr css or the OsClass main.css?

*

MB Themes

Re: rename a BO Mgr field label in user account
« Reply #6 on: February 17, 2016, 09:39:04 PM »
@osclassics
Probably you want to give it to theme css file.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

osclassics

  • **
  • 12 posts
Re: rename a BO Mgr field label in user account
« Reply #7 on: February 18, 2016, 06:47:10 AM »
@osclassics
Probably you want to give it to theme css file.

Hi Frosticek,  the problem is that the layout of my main.css looks horrible (I have never touched it, always been that way. Still on OsClass version 3.5.3 due to module dependencies) and whatever I do, the alignment of the required fields is not affected.

I have PM-ed you the URL of my dev site so if you could have a peek, that would be great!
« Last Edit: February 18, 2016, 07:04:44 AM by osclassics »

*

MB Themes

Re: align a required textfield in user registration page
« Reply #8 on: February 18, 2016, 07:46:13 AM »
@osclassics
Then create new css file, i.e. custom.css where you will put own custom styles so whenever you update theme or osclass, this file will not be touched because it does not exist in original theme files.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

osclassics

  • **
  • 12 posts
Re: align a required textfield in user registration page
« Reply #9 on: February 18, 2016, 11:31:38 AM »
Hi there,

The user registration form is currently as you can see in the below image.

All the custom required fields from BO Manager need to be neatly aligned to the red line.

Many thanks for your support.




« Last Edit: February 18, 2016, 05:08:00 PM by osclassics »

Marked as best answer by osclassics on February 18, 2016, 05:08:33 PM
*

MB Themes

Re: align a required textfield in user registration page
« Reply #10 on: February 18, 2016, 12:34:12 PM »
@osclassics
Add following to your stylesheet:
Code: [Select]
.form-horizontal div:not(.control-group) .select-box, .form-horizontal #s_phone_mobile, .form-horizontal #s_website { margin-left: 20px; margin-bottom: 15px; }
.form-horizontal label {clear:both;}
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

osclassics

  • **
  • 12 posts
Re: align a required textfield in user registration page
« Reply #11 on: February 18, 2016, 05:08:22 PM »
@osclassics
Add following to your stylesheet:
Code: [Select]
.form-horizontal div:not(.control-group) .select-box, .form-horizontal #s_phone_mobile, .form-horizontal #s_website { margin-left: 20px; margin-bottom: 15px; }
.form-horizontal label {clear:both;}

Terrific. Thank you.

*

MB Themes

Re: align a required textfield in user registration page
« Reply #12 on: February 19, 2016, 07:51:21 AM »
@osclassics
Welcome
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots