@extends('voyager::master') @section('page_title', 'Header & Footer Settings') @section('css') @stop @section('content')

Header & Footer Manager

Configure header branding, sticky navigation, typography, colors, footer layout, CTA buttons, and newsletter styling.

Voyager Menu Builder
@include('voyager::alerts')
@csrf @method('PUT')
Header & Navigation Bar
Logo, Sticky Navbar, Font Typography, Menu Colors, and Hover/Active Effects
@php $headerMenu = \TCG\Voyager\Models\Menu::where('name', 'header-menu')->first(); $headerMenuUrl = $headerMenu ? route('voyager.menus.builder', $headerMenu->id) : route('voyager.menus.index'); @endphp
Logo & Branding
Recommended: 300 × 80 px (PNG or SVG with transparent background)
Leave blank to keep the current logo, or upload a new one to replace it. @php $headerLogo = $contents['header_logo']->value ?? ''; $defaultLogo = asset('storage/website/logo.jpg'); $headerLogoUrl = !empty($headerLogo) ? asset($headerLogo) : $defaultLogo; @endphp
@if(!empty($headerLogo) && $headerLogo !== 'storage/website/logo.jpg')
@endif
CSS width, e.g. 150px or 170px
When enabled, navbar stays fixed at top of screen with smooth background transition on scroll.
Menu Typography & Appearance
Automatically highlights the parent item in the main navbar even when a user visits child sub-pages (e.g. /team under About Us).
Desktop Dropdown Submenu Appearance
Visual theme of desktop submenus.
Visual transition when cursor hovers over a dropdown menu item.
Footer Call-to-Action Buttons
Labels, Target URLs, Background & Text Colors, Hover Effects for Button 1 & Button 2
Button 1 (Primary Action)
Button 2 (Secondary Action)
Newsletter Container
Headline, Subscribe Button, Background Color/Image, Button Styling
Newsletter Copy & Button Link
HTML like <br> is supported for line breaks.
Container Background & Image
@php $nlBgType = $contents['footer_newsletter_bg_type']->value ?? 'color'; $nlBgImg = $contents['footer_newsletter_bg_image']->value ?? ''; $defaultNlImg = asset('storage/pages/footer_image.png'); $nlBgImgUrl = !empty($nlBgImg) ? asset(\Illuminate\Support\Str::startsWith($nlBgImg, ['http://', 'https://', 'storage/', 'assets/']) ? $nlBgImg : 'storage/' . $nlBgImg) : $defaultNlImg; $nlCardBgColor = $contents['footer_newsletter_bg_color']->value ?? '#86A34D'; @endphp
Recommended: 600 × 300 px (PNG/WebP with transparent or subtle background)
Newsletter Illustration
@if(!empty($nlBgImg) && $nlBgImg !== 'storage/pages/footer_image.png')
@endif
Say Hello & Social Media
Support Email, Phone Number, Extra Link, and Social Media Icons
@php $socialMenu = \TCG\Voyager\Models\Menu::where('name', 'footer-social-menu')->first(); $socialMenuUrl = $socialMenu ? route('voyager.menus.builder', $socialMenu->id) : route('voyager.menus.index'); @endphp
"Say Hello" Contact Block
Changes affect the live website header & footer instantly upon saving.
@stop @section('javascript') @stop