简体   繁体   中英

How to get this bootstrap drop-down to appear on top of fixed page header?

Does anyone know what amendment would need to be made to the code at http://jsfiddle.net/ufkkdbja/ so that when the hamburger is clicked the whole menu appears (and doesn't get truncated by the fixed page header?

  <header class="outer page-header">
<div class="dvTableTop">
    <div class="dvTableTopRow">
        <div class="dvTableTopRowCellLeft">
            <div class="container menu1">
                <!-- Dropdown left -->
                <div class="dropdown dropdownMenu">                        
                    <button class="c-hamburger c-hamburger--htla" id='btSwitch' type="button" data-toggle="dropdown">
    <span>toggle menu</span>
</button>
                    <ul class="dropdown-menu">
                        <li>
                            <asp:LinkButton ID="LinkButton1" runat="server">Home</asp:LinkButton></li>

TIA Mark

You've added .page-header overflow: hidden , remove it or make it visible instead.

.page-header {
   overflow: visible;
}

在CSS中,对于“ .page-header”,删除“ overflow:hidden;”。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM