Skip to content

Commit

Permalink
add position above-header
Browse files Browse the repository at this point in the history
  • Loading branch information
astridx committed Feb 11, 2023
1 parent e7d7668 commit ba85970
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions templates/cassiopeia/index.php
Expand Up @@ -129,6 +129,12 @@
. $hasClass
. ($this->direction == 'rtl' ? ' rtl' : '');
?>">
<?php if ($this->countModules('above-header', true)) : ?>
<div class="container-above-header grid-child above-header full-width">
<jdoc:include type="modules" name="above-header" style="none" />
</div>
<?php endif; ?>

<header class="header container-header full-width<?php echo $stickyHeader ? ' ' . $stickyHeader : ''; ?>">

<?php if ($this->countModules('topbar')) : ?>
Expand Down
1 change: 1 addition & 0 deletions templates/cassiopeia/templateDetails.xml
Expand Up @@ -24,6 +24,7 @@
<folder>images</folder>
</media>
<positions>
<position>above-header</position>
<position>topbar</position>
<position>below-top</position>
<position>menu</position>
Expand Down

0 comments on commit ba85970

Please sign in to comment.