Homepage kop rechterkolom 3 berichten ipv 2
This commit is contained in:
12
website/public/css/nhgooi.css
vendored
12
website/public/css/nhgooi.css
vendored
@@ -111,8 +111,16 @@ button[disabled]:hover
|
||||
|
||||
.grid .post {
|
||||
clear: none;
|
||||
padding-left: 3px;
|
||||
padding-right: 3px;
|
||||
padding-left: 3px;
|
||||
padding-right: 3px;
|
||||
}
|
||||
|
||||
.blog_grid .post.large {
|
||||
height: 526px; /* small items have 2 x 2px margin, so 3 * 174 + 2 * 2 */
|
||||
}
|
||||
|
||||
.blog_grid .post.small {
|
||||
height: 174px;
|
||||
}
|
||||
|
||||
.blog.podcasts .post {
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
@endif
|
||||
</div>
|
||||
<div class="column">
|
||||
@for($i = 0; ($i < 2) && ($item = next($news)); ++$i)
|
||||
@for($i = 0; ($i < 3) && ($item = next($news)); ++$i)
|
||||
<div class="row">
|
||||
<div class="post small">
|
||||
<a href="{{url($item->url)}}" title="{{$item->title}}">
|
||||
@@ -69,7 +69,7 @@
|
||||
<div class="caroufredsel_wrapper caroufredsel_wrapper_slider">
|
||||
<ul class="slider id-small_slider">
|
||||
@foreach($news as $item)
|
||||
@if($loop->index >= 3) @break @endif
|
||||
@if($loop->index > 3) @break @endif
|
||||
<li class="slide">
|
||||
<a href="{{url($item->url)}}" title="{{$item->title}}">
|
||||
@if($item->video)
|
||||
@@ -82,7 +82,7 @@
|
||||
<div class="slider_content_box">
|
||||
<ul class="post_details simple">
|
||||
<li class="category">
|
||||
<a title="Regio: {{$item->region->title}}" href="{{url('nieuws/regio/' . $item->region->slug)}}">{{$item->region->title}}</a>
|
||||
<a title="Regio: {{$item->region->title}}" href="{{url('nieuws/regio/' . $item->region->slug)}}" class="over_image">{{$item->region->title}}</a>
|
||||
</li>
|
||||
</ul>
|
||||
<h2><a href="{{url($item->url)}}" title="{{$item->title}}">{{$item->title}}</a></h2>
|
||||
@@ -100,8 +100,8 @@
|
||||
{{-- Meer nieuws --}}
|
||||
<div class="row page_margin_top">
|
||||
<div class="column column_2_3">
|
||||
<h4 class="box_header">Laatste nieuws</h4>
|
||||
@foreach(array_slice($news, 3, 10) as $item)
|
||||
<h4 class="box_header">Meer nieuws</h4>
|
||||
@foreach(array_slice($news, 4, 10) as $item)
|
||||
@if($loop->index % 2 == 0)
|
||||
<div class="row">
|
||||
@endif
|
||||
|
||||
Reference in New Issue
Block a user