React-Bootstrap Navbar is not sticking at the footer - css

I have a problem fixing the navbar to the bottom of the page. I need it to appear only when the page reaches the end, not that it stays fixed on the page.
I am using the Navbar component of react-bootstrap (https://react-bootstrap.github.io/components/navbar/).
Here is a gist with an example:
https://gist.github.com/fredarend/5f6c30d600a37faf9e4f983da0133e31
The navbar has the option "sticky = bottom", however, it is not placed at the bottom.

Related

Prevent daisyUI carousel from scrolling when switching slides

I'm using this carousel with indicator buttons from daisyUI in a Nextjs app.
As can be observed in their demo, when clicking on an indicator button, apart from switching slides the page will also scroll such that the top border of the slide is at the top of the screen.
Is there a way of using this component while preventing the scroll?

Showing image/icon over components

I'm using react, and I have an icon which is an image, the issue is that the position of it is fixed, it's showing and working normally as I want except when scrolling to another component such as carousel or cards, you can see from the pics, how can I fix this?
This is how it's shown
This what happens when user scrolls to another component
use z-index
You should give the z-index of the icon div higher than the z-index of the carousel or card div
example
`.icon{z-index:99999,position:'fixed'}`
<div class='icon'>your icon<div>

Overlay navbar, rather than push page contents, on expand

In bootstrap 4.0, I want to overlay the navbar above the contents of a page, rather than push the contents down, when the navbar expands from the collapsed state after clicking the hamburger.
I've tried setting a z-index property on the navbar class and several others. Also tried to put a wrapper around the nav element and set z-index: 1000 and position: absolute on that. So far I haven't managed. Any help would be very much appreciated.
Add fixed-top class to your navbar.
When using a fixed-top navbar, your <body> element needs a padding-top property equal to the height of the navbar (normally 70px - but can differ based on the theme).
The above is also true for fixed-bottom navbars (at the bottom end).

Twitter Bootstrap Landing Page. Clearing divs

I'm trying to create a landing page with bootstrap. The top divs are working fine, but the div on the second row is being pushed down by the larger div on top. Is there a way to make the blue div clear the red div so that it is directly under the top left div? Here is the link to the landing page. http://gabbatech.com/files/rakutenAdWords.html

How do you make a bootstrap popover scroll with the navbar?

I have a bootstrap popover() being called on a navlink in my fixed header. However, when the user scrolls, the popover is left behind on the page; I would like it to follow the navbar, like dropdown menus do. If you add position:fixed; to the popover's style, it does follow the navbar, but then upon scrolling, closing, and reopening the popover, it now have a default position partway down the page. How do you do this properly?

Resources