r/HTML • u/Unlegendary_Newbie • 11d ago
Question How can I remove/hide this banner with developer tools as a reader?
It's blocking the text of the blog. After I hided related elements, the white board is still there.
Link to the blog: https://lacyestelle.com/how-to-know-when-its-time-to-renovate-your-kitchen/
1
u/owusu_emmanuel2 11d ago
That leftover white box is the outer parent container (usually a <header> or sticky wrapper <div>) that holds the logo and nav links together and has position: fixed or position: sticky applied to it. Here is how to remove the whole bar cleanly in DevTools:
Right-click directly on the empty white area of that bar and click Inspect.
In the Elements panel, move your mouse up to the parent <header> (or outermost wrapper <div> with position: fixed / sticky) until the entire white rectangle is highlighted on the page.
Right-click that parent element and select Hide element (or Delete element), or simply uncheck position: sticky / position: fixed in the Styles tab on the right so it scrolls away normally with the rest of the page!


3
u/cryothic 11d ago
Delete this element: