Skip to content

Commit

Permalink
FIX Pages with a sidebar now have full width breadcrumbs and page tit…
Browse files Browse the repository at this point in the history
…le (#126)

FIX Pages with a sidebar now have full width breadcrumbs and page title
  • Loading branch information
ScopeyNZ committed May 2, 2019
2 parents f1f073f + d3fecf7 commit 06ca3ac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions templates/Layout/Page.ss
@@ -1,10 +1,10 @@
<div class="container">
<div class="row">
<section class="col-lg-8<% if not $Children %> offset-lg-2<% end_if %>">
<div class="page-header">
<section class="<% if $Children %>col-lg-12<% else %>col-lg-8 offset-lg-2<% end_if %>">
<header class="page-header">
$Breadcrumbs
<h1>$Title</h1>
</div>
</header>
</section>
</div>
<div class="row">
Expand Down
2 changes: 1 addition & 1 deletion templates/Layout/Page_results.ss
Expand Up @@ -30,7 +30,7 @@
</div>
<div class="col-sm-12 col-md-4 float-right search-results-results-page">
<p class="text-muted">
<%t CWP_Search.Pages "Displaying Page {current} of {total}" current=$Results.CurrentPage total=$Results.TotalPages %>
<%t CWP_Search.Pages "Displaying page {current} of {total}" current=$Results.CurrentPage total=$Results.TotalPages %>
</p>
</div>
</div>
Expand Down

0 comments on commit 06ca3ac

Please sign in to comment.