1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.5 Xenforo formOverlay not displaying my dropdown menu content

Discussion in 'Styling and Customization Questions' started by ArcheXerxes, Aug 28, 2016.

Thread Status:
Not open for further replies.
  1. ArcheXerxes

    ArcheXerxes Member

    My overlay is not displaying my dropdown menu content from one field. Everything else it displays except for the "Game:" field.


    This is my code for my form that has the dropdown menu. This works on the page
    Code:
    <dl class="ctrlUnit">
            <dt><label for="ctrl_bet_platform">{xen:phrase nflj_showcase_game_choose}:</label></dt>
       
                 <select name="bet_game_type" style="width: 160px;">
                      <option value="Madden 17"/> {xen:phrase nflj_sportsbook_betex_game_madden17}</label></option>
                     <option value="Madden 16"/> {xen:phrase nflj_sportsbook_betex_game_madden16}</label></option>
                    <option value="Fifa 16"/> {xen:phrase nflj_sportsbook_betex_game_fifa16}</label></option>
                         <option value="NBA 2K16"/> {xen:phrase nflj_sportsbook_betex_game_nba16}</label></option>
                       <option value="NHL 16"/> {xen:phrase nflj_sportsbook_betex_game_nhl16}</label></option>
                        <option value="Mortal Kombat X"/> {xen:phrase nflj_sportsbook_betex_game_mkx}</label></option>
                         <option value="Street Fighter V"/> {xen:phrase nflj_sportsbook_betex_game_sf5}</label></option>
                </select>   
    </dl>
    My formoverlay button on the message_user_info template
    Code:
    <div class="formOverlay">       
        <div>
            <label for="ChallengeUserBet" id="challengeButton"><a href="{xen:link betting-exchange/create}" class="OverlayTrigger inner"> {xen:phrase challenge_user}</a></label>
           
           
        </div>
    </div>
     

    Attached Files:

  2. ArcheXerxes

    ArcheXerxes Member

    any suggestions
     
  3. Amaury

    Amaury Well-Known Member

    It looks like it's just that your text shade is the same as the background. You can fix that under the Form-Type Overlays style property category.
     
  4. ArcheXerxes

    ArcheXerxes Member

    I tried changing all colors of my overlay code and nothing helped.
     
  5. Gemma

    Gemma Well-Known Member

    Try replacing this code
    Code:
    <dl class="ctrlUnit">
            <dt><label for="ctrl_bet_platform">{xen:phrase nflj_showcase_game_choose}:</label></dt>
      
                 <select name="bet_game_type" style="width: 160px;">
                      <option value="Madden 17"/> {xen:phrase nflj_sportsbook_betex_game_madden17}</label></option>
                     <option value="Madden 16"/> {xen:phrase nflj_sportsbook_betex_game_madden16}</label></option>
                    <option value="Fifa 16"/> {xen:phrase nflj_sportsbook_betex_game_fifa16}</label></option>
                         <option value="NBA 2K16"/> {xen:phrase nflj_sportsbook_betex_game_nba16}</label></option>
                       <option value="NHL 16"/> {xen:phrase nflj_sportsbook_betex_game_nhl16}</label></option>
                        <option value="Mortal Kombat X"/> {xen:phrase nflj_sportsbook_betex_game_mkx}</label></option>
                         <option value="Street Fighter V"/> {xen:phrase nflj_sportsbook_betex_game_sf5}</label></option>
                </select>   
    </dl>
    With this
    Code:
    <dl class="ctrlUnit">
        <dd>
            <dt><label for="ctrl_bet_platform">{xen:phrase nflj_showcase_game_choose}:</label></dt>
     
                 <select name="bet_game_type" class="textCtrl autoSize" style="width: 160px;">
                      <option value="Madden 17"/> {xen:phrase nflj_sportsbook_betex_game_madden17}</option>
                     <option value="Madden 16"/> {xen:phrase nflj_sportsbook_betex_game_madden16}</option>
                    <option value="Fifa 16"/> {xen:phrase nflj_sportsbook_betex_game_fifa16}</option>
                         <option value="NBA 2K16"/> {xen:phrase nflj_sportsbook_betex_game_nba16}</option>
                       <option value="NHL 16"/> {xen:phrase nflj_sportsbook_betex_game_nhl16}</option>
                        <option value="Mortal Kombat X"/> {xen:phrase nflj_sportsbook_betex_game_mkx}</option>
                         <option value="Street Fighter V"/> {xen:phrase nflj_sportsbook_betex_game_sf5}</option>
                </select>  
        </dd>
        </dl>
     
  6. Steve F

    Steve F Well-Known Member

    This is probably better asked in the add-on thread that you're using (Showcase or Sportsbook it looks like). It's likely the data you're trying to show is not available to the template you are working with.
     
  7. Brogan

    Brogan XenForo Moderator Staff Member

Thread Status:
Not open for further replies.

Share This Page