Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1324374

    randlsenn
    Participant

    I would like for the form to stretch across the whole column, but it only goes 50%. How can i change this?

    I currently have the settings CSS class name as “gf_simple_horizontal” and have three fields.

    Screen shot attached.

    #1324501

    Prasant Rai
    Moderator

    Hello There,

    Thanks for writing in!

    Could you please provide us with your website URL so we can take a closer look?

    Thanks.

    #1325545

    randlsenn
    Participant
    #1325673

    Christian
    Moderator

    Sorry but would you mind giving us WordPress admin credentials also?

    Thanks.

    #1325737

    randlsenn
    Participant
    This reply has been marked as private.
    #1325845

    Jade
    Moderator

    Hi there,

    Please add this code in the customizer:

    @media only screen and (min-width: 641px) {
        .gform_wrapper form.gf_simple_horizontal div.gform_body {
            width: 90%;
            max-width: 100%;
        }
    }

    Hope this helps.

    #1325879

    randlsenn
    Participant

    thanks, i have added but it doesn’t appear to have changed anything.

    #1326105

    Jade
    Moderator

    Hi there,

    Please update the code to:

    @media only screen and (min-width: 641px) {
        .gform_wrapper form.gf_simple_horizontal div.gform_body {
            width: 90%;
            max-width: 100%;
        }
    
        .gform_wrapper form.gf_simple_horizontal div.gform_body ul.top_label li.gfield:nth-child(1):nth-last-child(3), .gform_wrapper form.gf_simple_horizontal div.gform_body ul.top_label li.gfield:nth-child(2):nth-last-child(2), .gform_wrapper form.gf_simple_horizontal div.gform_body ul.top_label li.gfield:nth-child(3):nth-last-child(1) {
                width: 33.3333% !important;
        }
    }

    Hope this helps.

    #1326185

    randlsenn
    Participant

    thank you – it works

    #1326608

    Prasant Rai
    Moderator

    You are most welcome. 🙂