I am a novice when it comes to Bootstrap and css in general. I would like a site with a fixed sidebar, fixed top nav and main content that scrolls.
The navbar is fixed and works ok. The layout of the sidebar and main content is fine too. The problem comes when I set the sidebar to fixed. The main content overlaps the sidebar.
Set it as the font John Doe Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam fringilla augue nec est tristique auctor. Donec non est at libero vulputate rutrum.
public function popular($parent = null,$child = null)
{
$products = Product::with('subcategory')->with('subchild')->paginate(16)->sortByDesc('view_cache');
return view('Frontend.listing.popular')->with(['products'=>$products]);
}
namespace AppProviders;
use IlluminateContractsEventsDispatcher as DispatcherContract;
use IlluminateFoundationSupportProvidersEventServiceProvider as ServiceProvider;
class EventServiceProvider extends ServiceProvider
{
/**
* The event listener mappings for the application.
*
* @var array
*/
protected $listen = [
'AppEventsSomeEvent' => [
'AppListenersEventListener',
],
];
/**
* The subscriber classes to register.
*
* @var array
*/
protected $subscribe = [
'AppListenersUserEventListener',
];
/**
* Register any other events for your application.
*
* @param IlluminateContractsEventsDispatcher $events
* @return void
*/
public function boot(DispatcherContract $events)
{
parent::boot($events);
}
}
Set it as the font John Doe Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam fringilla augue nec est tristique auctor. Donec non est at libero vulputate rutrum.
public function popular($parent = null,$child = null)
{
$products = Product::with('subcategory')->with('subchild')->paginate(16)->sortByDesc('view_cache');
return view('Frontend.listing.popular')->with(['products'=>$products]);
}
namespace AppProviders;
use IlluminateContractsEventsDispatcher as DispatcherContract;
use IlluminateFoundationSupportProvidersEventServiceProvider as ServiceProvider;
class EventServiceProvider extends ServiceProvider
{
/**
* The event listener mappings for the application.
*
* @var array
*/
protected $listen = [
'AppEventsSomeEvent' => [
'AppListenersEventListener',
],
];
/**
* The subscriber classes to register.
*
* @var array
*/
protected $subscribe = [
'AppListenersUserEventListener',
];
/**
* Register any other events for your application.
*
* @param IlluminateContractsEventsDispatcher $events
* @return void
*/
public function boot(DispatcherContract $events)
{
parent::boot($events);
}
}
Thread Reply
Please briefly explain why you feel this answer should be reported .
Report CancelSet it as the font John Doe Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam fringilla augue nec est tristique auctor. Donec non est at libero vulputate rutrum.
Please briefly explain why you feel this answer should be reported .
Report CancelSet it as the font John Doe Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam fringilla augue nec est tristique auctor. Donec non est at libero vulputate rutrum.