mirror of
https://github.com/silverstripe/silverstripe-simple
synced 2024-10-22 11:05:50 +02:00
FIX left and right alignment of header & footer to content area
This commit is contained in:
parent
e68e63cf4b
commit
bba8ebfac5
@ -219,11 +219,13 @@ body {
|
||||
/* NAVIGATION */
|
||||
|
||||
/* Primary navigation */
|
||||
|
||||
.header .inner .unit {
|
||||
position: relative; /* used to position the main navigation */
|
||||
}
|
||||
.header .primary ul {
|
||||
position:absolute;
|
||||
bottom:0;
|
||||
right:17px; /* positions the main navigation */
|
||||
right:0; /* positions the main navigation */
|
||||
}
|
||||
.header .primary li {
|
||||
float: left;
|
||||
|
@ -1,8 +1,10 @@
|
||||
<footer class="footer" role="contentinfo">
|
||||
<div class="inner copy">
|
||||
<div class="inner">
|
||||
<div class="unit size4of4 lastUnit">
|
||||
<div class="left">
|
||||
<a href="$BaseHref" class="brand" rel="home">$SiteConfig.Title</a>
|
||||
<span class="arrow">→</span> <% include Navigation %></div>
|
||||
<small class="right"><a href="http://simple.innovatif.com/about/">Theme</a> by <a href="http://www.saratusar.com">Sara</a> (Innovatif) / Powered by <a href="http://silverstripe.org">Silverstripe</a></small>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
@ -1,5 +1,6 @@
|
||||
<header class="header" role="banner">
|
||||
<div class="inner">
|
||||
<div class="unit size4of4 lastUnit">
|
||||
<a href="$BaseHref" class="brand" rel="home">
|
||||
<h1>$SiteConfig.Title</h1>
|
||||
<% if $SiteConfig.Tagline %>
|
||||
@ -14,4 +15,5 @@
|
||||
<% end_if %>
|
||||
<% include Navigation %>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
Loading…
Reference in New Issue
Block a user