In _navigation.scss there are styles for #navigation, which doesn't exist as an html object. There are also references in _layout--grid.scss to a "navigation menus" that get loaded after "content", but my main nav block is in my header with no nav section to put it in. Is there something I am missing? How did we end up with these unused references. SEO is of dire importance for this project, so I want to make sure I am using this properly.

Comments

ebren created an issue. See original summary.

ebren’s picture

Title: Missin Navigation Region? » Missing Navigation Region?
maithri shetty’s picture

Status: Active » Needs review
StatusFileSize
new1.38 KB

Added navigation region.

joelpittet’s picture

Status: Needs review » Needs work

The patch has two navigation regions. And not using the sass files for the css.

Regarding how the references got there, likely ported from Drupal 7 or a core file in D8.

There shouldn’t need a region explicit to navigation, ideally the menu block should work well as a design component where ever it is placed. But in your project if you need a region, by all means add it.

We should remove those references though, thanks for the heads up

maithri shetty’s picture

Status: Needs work » Needs review
StatusFileSize
new1.02 KB

Added Navigation region.

awasson’s picture

Status: Needs review » Postponed
Related issues: +#2901386: Primary/Secondary Menu Regions

This is related to issue:
Primary/Secondary Menu Regions (2901386)

I'm going to leave it as postponed until we decide on that one. If we do choose to go ahead with the related issue, then #navigation css will be valid.

Cheers,
Andrew

awasson’s picture

Status: Postponed » Closed (duplicate)

For lack of a better Status, I have closed as duplicate and this should be handled by the related issue, which I just applied.

Thanks all.

Cheers,
Andrew