Bagisto Forum

    Bagisto

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    Create custom page

    General Discussion
    3
    4
    193
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • N
      Neilm last edited by

      How do I create a custom page , I have created the page but cannot get the header from Bagisto at the top of the page

      @extends('shop::layouts.master')

      @section('page_title')
      {{ __('Brands') }}
      @endsection

      @section('content-wrapper')
      <div class="section-game">
      <div class="section-gap container">
      <div class="flex items-cen

      1 Reply Last reply Reply Quote 0
      • Rishabh-Webkul
        Rishabh-Webkul last edited by

        Hello @Neilm

        For this you need to customize the header part from the below file.

        packages >> Webkul >> Shop >> src >> Resources >> views >> components >> layouts >> header >> desktop >> bottom.blade.php

        bottom.blade.php.png

        Regards
        Team Bagisto

        N 1 Reply Last reply Reply Quote 0
        • N
          Neilm @Rishabh-Webkul last edited by Neilm

          @Rishabh-Webkul Thanks for the quick response but I dont think that answers the question, I have a simple view from a simple controller below, I want this page to display within the Bagisto themed page with the headers / footers .

          {{-- File: packages/Webkul/Shop/src/Resources/views/custom/my-page.blade.php --}}
          
          @extends('shop::layouts.master') {{-- ✅ This layout exists inside the same module and includes the theme structure --}}
          
          @section('page_title')
              My Custom Page
          @endsection
          
          @section('content-wrapper')
              <div class="container">
                  <h1>Welcome to My Custom Page!</h1>
                
              </div>
          @endsection
          
          ghermans 1 Reply Last reply Reply Quote 0
          • ghermans
            ghermans @Neilm last edited by

            @Neilm

            Try to add this in your blade file

            <x-shop::layouts>
                <x-slot:title>
                    Welcome
                </x-slot>
            
                <div class="container mt-8 px-[60px] max-lg:px-8">
                    <h1>Welcome to My Custom Page</h1>
                </div>
            </x-shop::layouts>
            

            Kind regards,
            Glenn Hermans

            Manager Bagisto Europe
            info@bagisto.eu

            1 Reply Last reply Reply Quote 0
            • First post
              Last post