• Resolved victoriei101

    (@victoriei101)


    Hello, can you please tell me how can I bring 2 fields, that are in the same row, closer together? As you can in the image and link, the radio buttons field is far away from the text field and I want to have them closer to each other, on desktop layout. On mobile layout, they are as close as I want them. Thanks
    https://ibb.co/PDQqjtP

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello @victoriei101

    Thank you very much for using our plugin. The issue is caused by your custom styles, like:

    #fbuilder .saptezecilasuta {
        width: 70%;
        clear: none !important;
        float: left;
    }

    Instead of using the predefined plugin styles to distribute the fields into columns.

    Please follow the steps below:

    1. Select the “large” option for the “Field Size” attribute in the “fieldname2” field’s settings.
    2. Remove the “saptezecilasuta” class name from the fieldname2 settings and “treizecilasuta” from the fieldname16 settings, and use the col-sm-4 and col-sm-8 respectively.

    I did the modifications in the browser’s console to check what would be the form appearance with the modifications:

    Best regards.

    Thread Starter victoriei101

    (@victoriei101)

    Thank you for your fast reply.

    I’ve made the changes, but now on mobile layout the radio buttons are below the text field instead of next to it. (https://ibb.co/d476gqs)

    The text field doesn’t need to be this long, only 12 characters are required, so even the small field size is more than enough. Instead of stretching the text field and creating another line, in my case, it’s best to keep both fields side by side on all layouts. (https://ibb.co/DVJsbnG)

    How can I do that?

    Plugin Author codepeople

    (@codepeople)

    Hello @victoriei101

    In this case, instead of using the class names col-sm-# please use col-xs-# like col-xs-4 and col-xs-8

    Learn more about the class names to format the fields into columns by reading the following blog post:

    https://cff.dwbooster.com/blog/2019/01/06/columns

    Best regards.

    Thread Starter victoriei101

    (@victoriei101)

    I’ll look into it. Can you please tell me how can I edit the width of a specific field label and for a specific field? (https://ibb.co/JBBqYLz)

    Thank you

    Plugin Author codepeople

    (@codepeople)

    Hello @victoriei101

    If you need to customize a specific field’s appearance, you must assign a custom class name to it and define the class through the “Customize Form Design” attribute in the “Form Settings” tab (https://resources.developers4web.com/cff/images/documentation/form-settings-tab.png)

    Note you can assign multiple class names to a field through its “Add CSS Layout Keywords” attribute separating them by space characters.

    For example, if you assign the custom-class class name to the field, you can enter a style definition similar to the following one through the “Customize Form Design” attribute:

    .custom-class label{
    font-weight: bold !important;
    color: red !important;
    }

    Best regards.

    Thread Starter victoriei101

    (@victoriei101)

    Thank you very much.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Bring 2 fields same row closer together’ is closed to new replies.