Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1188942
    ZerotoOne
    Participant

    Hi.

    I would like to display the standard contact form like this (instead of one field in every line ):
    http://prntscr.com/clq8hw
    Is there an easy way of doing that?

    Thank you!

    #1188945
    ZerotoOne
    Participant
    This reply has been marked as private.
    #1188947
    Christopher
    Moderator

    Hi there,

    Please update your code to :

    <div class="x-column x-1-2 x-sm">[text* your-name placeholder "Ihr Name"]</div>
    <div class="x-column x-1-2 x-sm">[email* your-email placeholder "Ihre E-Mail-Adresse"]</div>
    [text* your-subject placeholder "Betreff"]
    [textarea* your-message placeholder "Ihre Nachricht"]
    
    [submit "Senden"]

    Hope it helps.

    #1189008
    ZerotoOne
    Participant

    thank you, this is how it looks now http://prntscr.com/clqwx3 please have a look 🙂

    #1189015
    Thai
    Moderator

    Hi There,

    Please update the previous code a bit:

    <div class="x-column x-1-2 x-sm">[text* your-name placeholder "Ihr Name"]</div>
    <div class="x-column x-1-2 x-sm last">[email* your-email placeholder "Ihre E-Mail-Adresse"]</div>
    [text* your-subject placeholder "Betreff"]
    [textarea* your-message placeholder "Ihre Nachricht"]
    
    [submit "Senden"]

    Hope it helps 🙂

    #1189021
    ZerotoOne
    Participant

    thank you thats pretty accurate, but could you help me to tighten the gap? http://prntscr.com/clr43a 🙂

    #1189032
    Friech
    Moderator

    Hi There,

    You can add this under Custom > CSS in the Customizer.

    .wpcf7 .x-column.x-1-2 {
    	width: 49%;
    	margin-right: 2%;
    }
    .wpcf7 .x-column.last {margin-right: 0;}

    Hope it helps, Cheers!

    #1189059
    ZerotoOne
    Participant

    thank you this worked perfectly 🙂

    #1189062
    ZerotoOne
    Participant

    but on ipad it isn’t working quite right :/

    #1189274
    Rad
    Moderator

    Hi there,

    Please try this,

    @media ( min-width: 768px ) {
    .wpcf7 .x-column.x-1-2 {
    	width: 49%;
    	margin-right: 2%;
    }
    .wpcf7 .x-column.last {margin-right: 0;}
    }

    Cheers!

  • <script> jQuery(function($){ $("#no-reply-1188942 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>