Skip Navigation

[Resolved] Submit and Input lines – not in line?

This thread is resolved. Here is a description of the problem and solution.

Problem:
How to format CRED form with custom style

Solution:
You can adjust CRED form with your own custom style. In needs custom CSS/JS knowledge to fix such issues.

You can find proposed solution, in this case, with the following reply:
https://toolset.com/forums/topic/submit-and-input-lines-not-in-line/#post-620054

Relevant Documentation:
https://toolset.com/documentation/user-guides/styling-cred-forms/

This support ticket is created 6 years, 9 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 4 replies, has 2 voices.

Last updated by stuart 6 years, 9 months ago.

Assisted by: Minesh.

Author
Posts
#619888
whats-going-on.jpg

I would like the submit and the input on the same line - however, whatever I do it won't line up.

Image attached.

CRED Code -
[credform class='cred-form cred-keep-original']
[cred_field field='form_messages' value='' class='alert alert-warning']

<div class="row ">
<div class="col-sm-6">[cred_field field='lead-email' post='lead' value='' urlparam='' class='form-control' output='bootstrap']</div>
<div class="col-sm-6"><button class="btn btn-default">Show Me</button></div>
</div>
<p>
<div class="row">
<div class="col-sm-6">[cred_field field='lead-email' post='lead' value='' urlparam='' class='form-control' output='bootstrap']</div>
<div class="col-sm-6">[cred_field field='form_submit' value='Show Me' urlparam='' class='btn btn-default' output='']</div>
</div>

[/credform]

#619890

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

This may needs to adjust using some custom CSS but I can tell you once I have problem URL and access details of your install.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I would additionally need your permission to de- and re-activate Plugins and the Theme, and to change configurations on the site. This is also a reason the backup is really important. If you agree to this, please use the form fields I have enabled below to provide temporary access details (wp-admin and FTP).

I have set the next reply to private which means only you and I have access to it.

#620047

Just making sure you understand the private message - its a link to google drive where the duplicator files are - as its running locally 🙂 thanks
Stu

#620054

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Well - I've added the following code to CRED form:

[credform class='cred-form cred-keep-original']
[cred_field field='form_messages' value='' class='alert alert-warning']

<div class="row">
  <div class="col-xs-12 col-sm-6 col-md-8">[cred_field field='lead-email' post='lead' value='' urlparam='' class='form-control' output='bootstrap']</div>
  <div class="col-xs-6 col-md-4"><button class="btn btn-default">Show Me</button></div>
</div>

<div class="row">
  <div class="col-xs-12 col-sm-6 col-md-8">[cred_field field='lead-email' post='lead' value='' urlparam='' class='form-control' output='bootstrap']</div>
  <div class="col-xs-6 col-md-4">[cred_field field='form_submit' value='Show Me' urlparam='' class='btn btn-default' output='']</div>
</div>

[/credform]

And from:
=> Toolset=> Settings => Forms tab => Styling section => Uncheck the checkbox "Load CRED legacy style sheets on front-end"

I can see its working fine now and showing on same row - you should try to style your submit button accordingly.
=> hidden link

#621527

it appears the tick box did the trick - thanks Minesh