Looking to add a small square on the page for users to search and purchase courses directly. The square should be 4 columns wide, follow Bootstrap4 grid template, and be around 200-300 px in length. It needs to remain visible as the user scrolls down the page.
Take inspiration from this site when implementing this feature:
Codepen:
https://codepen.io/ogonzales/pen/QWjmorP
CODE:
Currently facing an issue where the square remains fixed at the top of the page as the user scrolls.
<main role="main" class="container">
<div class="row">
<div class="col-md-8">
/* Content for main section */
</div>
<div class="col-md-4" id="LocalSide">
<form class="search-form" action="/search/" method="post">
<input type="hidden" name="csrfmiddlewaretoken"
value="KTlYgVaxnAYKzLle9WWDNIoE0MDSvAVldfbsnKbfpAStWafCb1MVMgwLdArZUEiP">
<div class="form-group">
<input type="search" class="form-control search-course" placeholder="Search for course" name="search_term"
required="">
<input type="hidden" value="3" name="course_id">
</div>
</form>
<h2 class="local-side-heading">In this Section:</h2>
<nav class="local-nav">
<ol data-local-nav-list=""></ol>
</nav>
<a class="pcta" href="/payments/tdd-flask/" data-a-buy-course-cta="tdd-flask">
<span class="label label-success">
<span class="pcta-label">Get the</span>
<span class="pcta-hook">full course</span>
<span class="sr-only">for</span>
<span class="pcta-badge" aria-hidden="true">Now Only</span>
</span>
<span class="pcta-price">$30</span>
</a>
<a href="#TOP" class="local-side-jump" data-back-to-top="">↑ Back to top</a>
</div>
</div>
</main>
BONUS:
Would like to incorporate the green arrow found here:
Ideally looking for a solution that works with Bootstrap 4.4.1 since using Bootstrap 3.4.1 displays the labels but not the arrow as needed.