The page.blade.php file is here...
` @extends('layouts.app') @section('title') {{$page->title}} @stop
@section('content') <div class="user-member pft-display"> <div class="container"> <h1>{{$page->title}}</h1> </div> </div>
<div class="clearfix"></div>
@if($setting->ads == 'yes')
<div class="text-center" style="margin: 20px 0">
@if($ads->leaderboard != null)
<br>{{ $ads->leaderboard }} <br>
@else
<img src="{{asset('uploads/dummy-leader.png')}}" alt="ad"> <br>
@endif
</div>
@endif
<div class="focus-wrapper pft-display">
<div class="container text-left">
<p>{!! $page->content !!}</p>
</div>
</div>
@if($setting->ads == 'yes')
<div class="text-center" style="margin: 20px 0">
@if($ads->leaderboard != null)
<br>{{ $ads->leaderboard }} <br>
@else
<img src="{{asset('uploads/dummy-leader.png')}}" alt="ad"> <br>
@endif
</div>
@endif
`
@if($setting->ads == 'yes')
<div class="text-center container" style="margin: 20px 0">
@if($ads->leaderboard != null)
<br>{{ $ads->leaderboard }} <br>
@else
<img src="{{asset('uploads/dummy-leader.png')}}" alt="ad"> <br>
@endif
</div>
@endif```
I think you are messing up the style of that specific div in which ads are visible.Try putting some margin and padding for that div to align properly.
webfuelcode liked this reply
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community