• Resolved erwanjugand

    (@erwanjugand)


    Bonjour,

    je souhaitais savoir s’il était possible de modifier le rendu html des inputs.

    Actuellement la personnalisation des formulaires est assez restreinte notamment sans div “container” autour de chaque input ou ajout de class.

    Cordialement

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Sellsy

    (@sellsy)

    Bonjour,

    Merci pour ce retour.

    Vous avez un id sur le form, puis vous pouvez appliquer un changement CSS sur les input, textarea, etc … pour modifier / altérer l’harmonie globale du formulaire.

    Sinon vous disposez d’un id sur chaque input/textarea pour changer un champ en particulier si besoin.

    Ex :
    #form_contact input[type=”text”],
    #form_contact input[type=”email”],
    #form_contact select {
    display: block;
    width: 100%;
    background: #fff;
    border: solid 1px #ccc;
    box-sizing: border-box;
    outline: none;
    padding: 0.36rem 0.66rem;
    outline-offset: 0;
    border-radius: 0;
    }

    Cordialement

    Michael DUMONTET

    • This reply was modified 5 years, 7 months ago by Sellsy.
    Thread Starter erwanjugand

    (@erwanjugand)

    En faite, j’aimerais avec un rendu html similaire à ci-dessous pour parfaitement intégrer le formulaire au design global du site.

    <form>
      <div class="custom-class">
        <input >
        <label>label</label>
      </div>
    </form>

    et actuellement le rendu est

    <form>
      <label>label</label>
      <input >
    </form>

    C’est possible ?

    Plugin Author Sellsy

    (@sellsy)

    Bonjour,

    Nous allons étudier la faisabilité d’un tel cas ainsi que ces conséquences.
    Merci encore pour ce retour d’expérience.

    Cordialement

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Personnaliser le html des inputs’ is closed to new replies.