Fix main menu to top of page
This commit is contained in:
parent
30c40d961b
commit
3e5e30c6a9
1 changed files with 21 additions and 0 deletions
21
agaric/templates/layout/region--primary-menu.html.twig
Normal file
21
agaric/templates/layout/region--primary-menu.html.twig
Normal file
|
@ -0,0 +1,21 @@
|
|||
{#
|
||||
/**
|
||||
* @file
|
||||
* Default theme implementation to display a region.
|
||||
*
|
||||
* Available variables:
|
||||
* - content: The content for this region, typically blocks.
|
||||
* - attributes: HTML attributes for the region <div>.
|
||||
* - region: The name of the region variable as defined in the theme's
|
||||
* .info.yml file.
|
||||
*
|
||||
* @see template_preprocess_region()
|
||||
*
|
||||
* @ingroup themeable
|
||||
*/
|
||||
#}
|
||||
{% if content %}
|
||||
<div class="is-fixed">
|
||||
{{ content }}
|
||||
</div>
|
||||
{% endif %}
|
Loading…
Reference in a new issue