Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 15628

How to set a fixed position and freeze my breadcrumb in the body of the HTML?

$
0
0
How to set a fixed position and freeze my breadcrumb in the body of the HTML below, so it will not scrollable?

Code:

<body>

    <div class="c-subheader justify-content-between px-3">
        <!-- Breadcrumb-->
        <ol class="breadcrumb border-0 m-0 px-0 px-md-3">
            <li class="breadcrumb-item">x</li>
            <li class="breadcrumb-item"><a href="#">y</a></li>
            <li class="breadcrumb-item active">z</li>
            <!-- Breadcrumb Menu-->
        </ol>
    </div>

in my _layout.cshtml

Code:

<div class="c-body">
        <main class="c-main">
            @RenderBody()
        </main>
    </div>


Viewing all articles
Browse latest Browse all 15628

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>