jeudi 19 mai 2016

making articles show in columns laravel

im new to laravel im currently trying to show my articles in columns of two however they are showing in individual rows stacked on top of each other. any help would be great as this is frustrating ! lol

@extends('layouts.application')
@section('page_title', 'All stories')
@section('content')
    <div class="col-md-8">
    <div class="row">
        <div class="col-md-6">
            @forelse($stories as $story)
            <div class="panel panel-default">
                <div class="panel-body">
                    <img src="http://ift.tt/1Vb7sGc" class="img-responsive" alt="Responsive image">
                    <h3></h3>
                    <p></p>
                    <hr>
                    <div class="col-md-4"><a href="/posts/" class="btn btn-latest pull-right">Read More</a></div>
                </div>
            </div>
            @empty
            <h1>Currently no stories!</h1>
            @endforelse
        </div>
    </div>
</div>
<br>
@include('includes/_rightmenu')
@endsection



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/27DSygV
via IFTTT

Aucun commentaire:

Enregistrer un commentaire