1. PROMO Subscribe our All Access Pass @ 75% OFF & access all our 16+ premium Divi extensions: Divi Block Pro, Carousel Toolkit, etc.LEARN MORE
Dismiss Notice
NEW Divi.Help Pro Carousel AI Toolkit - Magically turn your Divi design into carousel, simply by using our online toolkit. No plugins needed. Now it works with Divi 5 as well!Try our carousel AI toolkit
BEST Divi Block - A revolutionary drag & drop tool to easily mix & match 960+ premade blocks (Light & Dark) to kick start your Divi site design. Special module designs are included as well. Also newly added AI generator & color. Now it works with Divi 5 as well!
Learn More About Divi BlockFree Version ~ 340+ Free Blocks

print the question of a dropdown menu on top of the field

Discussion in 'Free Divi Community Forum' started by RobertaCin, Jun 17, 2020.

  1. RobertaCin

    RobertaCin Member

    Dear DIVI Helpers,

    I would like to print the question of a dropdown menu on top of the field, after the selection is done
    I have a long and complicated form which can confuse
    https://www.sailover.net/contatti/

    I asked ET which suggested to customise the css class and css with the following:
    .custom-form [data-type="select"] .et_pb_contact_form_label {
    display: block !important;
    }

    but with this the question is printed now twice, which is not what is ideal from a ux perspective
    I would need it to appear once the selection is made from the drop down

    ET replied: I have aI'm afraid label above selective fields cannot show only after selection, label can be made visible all the time

    Could you kindly help?

    thanks
     
    1. PRO MEMBER PERKS Divi Block Pro - Premade logo carousel design for your Divi site without using any plugins:View Demo
  2. Divi.Help

    Divi.Help Administrator
    Staff Member

    Here's a workaround.

    Try the below code in WP Admin > Divi > Theme Options > Integration > Body Code:
    Code:
    Log In or Sign Up to view this code.
    Here's the result:

    upload_2020-6-17_22-28-21.png
     
    RobertaCin likes this.
  3. RobertaCin

    RobertaCin Member

    it worked, thank you!

    Just one thing: how could I customise "Select one"? please consider also my website is multilingual

    thanks
     
    1. PRO MEMBER PERKS Divi Block Pro - Premade logo carousel design for your Divi site without using any plugins:View Demo
  4. Divi.Help

    Divi.Help Administrator
    Staff Member

    For that case, you just need to create a new option for your dropdown with your 'select one' text.

    As for the previous code, remove the one that inject the 'select one' text:
    Code:
    Log In or Sign Up to view this code.
     
  5. RobertaCin

    RobertaCin Member

    I did that but something went wrong I think

    Could you kindly check?

    In many fields the field name still appears twice, both on top and in the field body
     
    1. PRO MEMBER PERKS Divi Ultimate Child Theme - Tons of premade layouts & section designs + functionalities for your Divi site:Learn More
  6. Divi.Help

    Divi.Help Administrator
    Staff Member

    Try to add a new 'Select one' option for the dropdown field. Make sure to sort the 'Select one' option as the first option in the dropdown. And see how it goes.