[Support request] Seeking css help for a dropdown/ form.

Home Forums Support [Support request] Seeking css help for a dropdown/ form.

Home Forums Support Seeking css help for a dropdown/ form.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1196558
    Hafsa

    Hi,
    I’m trying to place this dropdown in the last container at the very bottom (https://prnt.sc/rhbf1h). Due to some (css?) issue, the drop down keeps showing up at the very top (https://prnt.sc/rhbd8p)
    Can you please help me get this in it’s proper place?
    Thank you SO much.

    #1196614
    David
    Staff
    Customer Support

    Hi there,

    how is the dropdown select box generated ? As it to do how that is coded that is placing at the very top of the page content.

    #1196962
    Hafsa

    https://pastebin.com/9jLfbXcs
    Would I need to define some class in the div and add that in the CSS later? Please advise (with details, as I’m a newbie). Thank you

    #1197523
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    You need to do this:

    add_shortcode('countriesDropdown', 'countriesDropdown_shortcode');
    function countriesDropdown_shortcode( $atts = [], $content = null) {
        ob_start();
        ?>
            Your code in here.
        <?php
        return ob_get_clean();
    }
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.