Site logo

Archived topic

Site Header Not Showing Up

8 replies · Started by Matt Stern on April 29, 2021

Viewing posts 1–9 of 9

I changed the Tag Name of the container block to "Header" and that seems to have solved the problem. Does this make sense? Not sure why it was showing up on one page before....

Do you have multiple Header Elements?

If yes, it's possible that the Header Elements display rule locations conflict with each other.

Hi Elvin,

Only one header element....

Thats odd - the Block Element doesn't suffer from Display Conflicts - could have been server page caching hadn't cleared. Does the issue return if you change the Element Tag ?

David, you may be right about the server side caching being the issue. Changing the Element Tag again did not cause an issue.

Sidenote: are the element tags explained in details anywhere?

Thanks!

Apart from the default <div> which in HTML semantics is Division and has no explicit meaning - the others are known as Section Elements that are also ARIA Landmarks - see here:

https://www.w3.org/TR/wai-aria-practices/examples/landmarks/HTML5.html

In your instance the <header> would be the correct element tag - as you're replacing the Site Header. Browsers and importantly Screen readers and other assistive technologies use these landmarks to assist navigation. Its also good HTML semantics as someone reading the code can see here is the header, here is the footer.

In regards to the <aside> you will see this in places such as a Widget.

Thanks, David. Marking this a resolved.

Glad to be of help.

This archived topic is closed to new replies.