1. HOT Divi Ultimate Header Plugin - Design Divi custom header globally in Divi Builder: https://header.diviultimate.com/
    Dismiss Notice

CSS Help

Discussion in 'Get Help On Divi Wordpress' started by Ivy Zhou, Apr 13, 2019.

  1. Ivy Zhou

    Ivy Zhou Member

    Hi, I was wondering how I can code these fields so that they are side by side instead of one after another. I included the code after screenshot.

    Screen Shot 2019-04-13 at 11.05.20 AM.png

    <?php
    $title='Signup'; // set title for usage in header
    $this->setLayout('layout.phtml'); // include header and footer around this page
    include$this->_script('_error.phtml'); // display error if any
    $frm=$this->form->renderEasyArray(); // get html elements to include into your custom html
    //echo '<pre>'.htmlentities(print_r($frm, true)).'</pre>'; // dump elements to your review
    ?>
    <form class="am-form"<?phpecho$frm['attributes'];?>>
    <?phpecho$frm['hidden'];// insert hidden form elements - REQUIRED ?>
    <?phpecho$frm['javascript']; // insert javascript code - REQUIRED ?>
    <b>Products</b>:
    <?phpecho$frm['elements']['product_id-0']['htmle']?>
    <!--['htmle'] combines the element HTMLand error message
    You may use separate ['html']and['error'] elements
    instead of ['htmle']-->
    <hr />
    <b>Paysystem</b>:
    <?phpecho$frm['elements']['paysys_id']['htmle']?>
    <hr>
    <b>E-Mail Address</b>:
    <?phpecho$frm['elements']['email-0']['htmle']?>
    <hr />
    <?phpecho$frm['elements']['buttons']['htmle']?>
    </form>