Title: Align div, with form
Last modified: May 27, 2019

---

# Align div, with form

 *  [throm17](https://wordpress.org/support/users/throm17/)
 * (@throm17)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/align-div-with-form/)
 * Hello,
 * I’m having a problem with the development of my casting site.
 * I created a profile sheet for each user registered on my site.
 * The problem occurs on the mobile version, instead that the information is next
   to others (example: First name Paul)
 * They are one below the other.
 * Do you have an idea for me to solve this problem?
 * You can access a form by logging in with these identifiers:
 * Id : 226419
 * Password : Sss123&
 * This is my css code :
 *     ```
       @media only screen and (min-width: 400px) {
       .colgauche {
       font-size: 5px;
       width:50%;
       display:inline-block;
       }
       ```
   
 * PHP :
 *     ```
       $user = wp_get_current_user();
   
       $user_id = um_user('ID');
       um_fetch_user( $user_id );
       $meta_value = um_user('prenom_name');
   
       echo $meta_value;
       ```
   
 * HTML :
 *     ```
       <div class="colgauche">
   
       <strong>Prénom</strong>
   
   
   
       <strong>Nom</strong>
   
   
   
       <strong>Date et lieu de naissance</strong>
   
   
   
       <strong>Adresse postale</strong>
   
   
   
       <strong>Adresse Mail</strong>
   
   
   
       <strong>Numéro de mobile</strong>
   
       </div>
       ```
   
 * `<div class="colgauche">[wbcr_php_snippet id="567"]</div>`
 * mobile version : [https://francecasting.fr/wp-content/uploads/2019/05/Capture2.png](https://francecasting.fr/wp-content/uploads/2019/05/Capture2.png)
   
   responsive version : [https://francecasting.fr/wp-content/uploads/2019/05/capture1.png](https://francecasting.fr/wp-content/uploads/2019/05/capture1.png)
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Falign-div-with-form%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Thread Starter [throm17](https://wordpress.org/support/users/throm17/)
 * (@throm17)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/align-div-with-form/#post-11583535)
 * Up up

Viewing 1 replies (of 1 total)

The topic ‘Align div, with form’ is closed to new replies.

 * ![](https://ps.w.org/ultimate-member/assets/icon-256x256.png?rev=3160947)
 * [Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin](https://wordpress.org/plugins/ultimate-member/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-member/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-member/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-member/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-member/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-member/reviews/)

## Tags

 * [align](https://wordpress.org/support/topic-tag/align/)
 * [css](https://wordpress.org/support/topic-tag/css/)
 * [div](https://wordpress.org/support/topic-tag/div/)
 * [html](https://wordpress.org/support/topic-tag/html/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * 1 reply
 * 1 participant
 * Last reply from: [throm17](https://wordpress.org/support/users/throm17/)
 * Last activity: [6 years, 11 months ago](https://wordpress.org/support/topic/align-div-with-form/#post-11583535)
 * Status: not resolved