Large space showing all of a sudden between menu and divider on various pages

All of a sudden, a blank space is now appearing in between the menu and divider on various pages, that wasn’t there before. Any ideas what has caused this issue on my site?

HTX Fluid Power

Password: bofupd


Go to online store ----> themes ----> go to three Dots ----> edit code ---->find theme.liquid files ----> place the code ---->
under the tag before the body ----->
if this code work please do not forget to like and mark it solution

Hello @HTX-Fluid-Power
This seems to be rectified

Thanks

@HTX-Fluid-Power
I have checked, and it is working fine.

This did not work.

I just checked again, it’s still doing it randomly. It is not just on the contact page. It is happening on other pages, products, etc.

I just checked again; it’s still doing it randomly. It is not just on the contact page. It is happening on other pages, products, etc.

Not as big of a space but still doing it under the menu. Also, when scrolling down the divider goes in front. See below.

Not as big of a space but still doing it under the menu. Also, when scrolling down the divider goes in front. See below.

HTXFluidPower_2-1743225322752.png

HTXFluidPower_3-1743225322752.png

Hello @HTX-Fluid-Power

I checked randomly, but I don’t see any extra space. I also recorded a video. Please check it once.

Video link - https://www.awesomescreenshot.com/video/38174651?key=3e4b783b82d5e591175a3822c6cce69b

Did you scroll up, to see if it is doing the below?

Just tried again.

This is what i can see

Try this:

html body {
  display: flex;
  flex-direction: column;
}

main {
  margin-bottom: auto;
}

.shopify-section-group-ecom-store-footer_footer .ecom-row.ecom-core.ecom-section {
  position: relative;
}

Can go to the Theme Settings=> Custom CSS, or to the bottom of your base.css.

There are two source of this problem:

  1. Theme initially has a code to stick footer to the bottom of the screen. However, the way it’s done it does not work if there are new elements added above the main sections area.

  2. For whatever reason, a part of the footer done in the page builder has “position: abosolute” which also breaks theme code calculations…

I believe this worked. I’m no longer seeing the issue occurring.