Skip to content

Commit

Permalink
using bootstrap css
Browse files Browse the repository at this point in the history
  • Loading branch information
infograf768 committed Jan 21, 2020
1 parent 37bdd98 commit dc230d1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion templates/cassiopeia/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@

$this->setMetaData('viewport', 'width=device-width, initial-scale=1');

$stickyHeader = $this->params->get('stickyHeader') ? 'sticky-header' : '';
$stickyHeader = $this->params->get('stickyHeader') ? 'position-sticky sticky-top' : '';

?>
<!DOCTYPE html>
Expand Down
7 changes: 0 additions & 7 deletions templates/cassiopeia/scss/blocks/_layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,6 @@
}
}

.sticky-header {
margin: 0 0 20px 0 !important;
position: -webkit-sticky !important;
position: sticky !important;
top: 0;
}

header {
margin-bottom: 10px;
}
Expand Down

0 comments on commit dc230d1

Please sign in to comment.