Divxatope !full! -

Add padding or margin to the target div equal to the header height:

I’ll give you a few common causes and fixes for when instead of flowing around it. 1. Absolute positioning causing overlap Problem: Text inside a positioned element overlaps another div because the div is taken out of normal flow. divxatope

.covered-div { clear: both; } Problem: A fixed header overlaps the top of a <div> when scrolling. Add padding or margin to the target div

.text-block { position: absolute; top: 0; left: 0; } Make sure the container has position: relative and the absolute element is contained properly, or adjust z-index : .covered-div { clear: both

Clear floats or add overflow: hidden/auto to parent:

.clearfix::after { content: ""; display: table; clear: both; } Or for overlapping text due to floats:

body { padding-top: 60px; /* height of fixed header */ } Problem: Grid or flex items overlap because of negative margins or absolute children.